int[] numarray = {1, 2, 3 ,4}; foreach(int num in numarray){ /* You can do a lot of things with the elements, I am going to just print them to the console. */ System.Console.WriteLine(num); }