Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

how to loop over array in c#

int[] numbers = new int[] {66,87,34,23,27,4};
foreach(int x in numbers){
	Console.WriteLine(x);
}
 
PREVIOUS NEXT
Tagged: #loop #array
ADD COMMENT
Topic
Name
8+7 =