Advertisement
ranisalt

Exemplo Foreach

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