Advertisement
ranisalt

Exemplo For com coleção

Dec 28th, 2012
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.14 KB | None | 0 0
  1. int[] arr = new int[11] { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 };
  2. for (int i = 0; i <= arr.Length - 1; i++)
  3. {
  4.     Console.WriteLine("{0}", arr[i]);
  5. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement