Advertisement
EESweetieBot

HOLY SHIT WHAT AM I DOING WITH MY LIFE

Nov 11th, 2016
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.49 KB | None | 0 0
  1. public static async void cod()
  2.         {
  3.             string[] hellos = {"hoi", "hey", "hi"};
  4.             string shit = "Oh, hi rarity. You're cute";
  5.             string[] Ashit = shit.Split(' ');
  6.             string[] ashit = shit.ToLower().Split(' ');
  7.             int heypos = -1;
  8.             foreach(string shitword in ashit)
  9.             {
  10.                 foreach(string fuckingshit in hellos)
  11.                 {
  12.                     if(shitword == fuckingshit)
  13.                     {
  14.                         heypos = Array.IndexOf(ashit, fuckingshit);
  15.                     }
  16.                 }
  17.             }
  18.             Write(shit + " - " + heypos + " " + ashit[heypos]);
  19.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement