Advertisement
Guest User

Untitled

a guest
Apr 5th, 2015
262
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.73 KB | None | 0 0
  1. //Somewhere far far away
  2. string1 = "something";
  3. string2 = "somethingalso";
  4.  
  5. for (int i = 0; i < 75; i++)
  6.             {
  7.                 foreach (var value in list1)
  8.                 {
  9.                     checkValue1 = value;
  10.                     break;
  11.                 }
  12.                 foreach (var value in list2)
  13.                 {
  14.                     checkValue2 = value;
  15.                     break;
  16.                 }
  17.  
  18.                 if (checkValue1 == string1 && checkValue2 == string2)
  19.                 {
  20.                     accept = true;
  21.                     break;
  22.                 }
  23.                 else
  24.                 {
  25.                     accept = false;
  26.                     continue;
  27.                 }
  28.             }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement