Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

C# lists

// List with default capacity  
List<Int16> list = new List<Int16>();  
// List with capacity = 5  
List<string> authors = new List<string>(5);  
string[] animals = { "Cow", "Camel", "Elephant" };  
List<string> animalsList = new List<string>(animals); 
Source by www.c-sharpcorner.com #
 
PREVIOUS NEXT
Tagged: #lists
ADD COMMENT
Topic
Name
9+1 =