Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

C# Arrays

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

            luckyNumbers[1] = 900;
            string[] friends = new string[3];
            friends[0] = "Jim";
            friends[1] = "Kelly";
            friends[2] = "John";
			friends[3] = "Ben";



            Console.WriteLine(luckyNumbers[1]);
			Console.ReadLine();
Source by # #
 
PREVIOUS NEXT
Tagged: #Arrays
ADD COMMENT
Topic
Name
3+3 =