Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# arrays

ArrayList arlist = new ArrayList()
                {
                    1,
                    "Bill",
                    300,
                    4.5f
                };

arlist.Insert(1, "Second Item");

foreach (var val in arlist)
    Console.WriteLine(val); 
Source by www.codecademy.com #
 
PREVIOUS NEXT
Tagged: #arrays
ADD COMMENT
Topic
Name
8+3 =