Guest User

Untitled

a guest
Jan 16th, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. int position = "01234".IndexOf ("23"); // returns 2
  2.  
  3. var options = new [] {"77", "34", "12"};
  4. int position = "01234".ImaginaryIndexOf (options); // should return 1
Add Comment
Please, Sign In to add comment