turt2live

Untitled

Sep 13th, 2013
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.12 KB | None | 0 0
  1. // array is an array, this is in a loop
  2. // i is the counter
  3. int temp = array[x+1];
  4. array[x+1]=temp;
  5. array[x]=array[x+1];
Advertisement
Add Comment
Please, Sign In to add comment