Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

C# For Loops

{
    int[] luckyNumbers = { 4, 8, 15, 16, 23, 42 };

    for (int i = 0; i < luckyNumbers.Length; i++)

        Console.WriteLine(luckyNumbers[i]);
    
}

Console.ReadLine();
Source by # #
 
PREVIOUS NEXT
Tagged: #For #Loops
ADD COMMENT
Topic
Name
7+4 =