Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# list

using System.Collections.Generic;

private List<string> list;  //creates list named list of type string

list.Add(string); //adds string at last index of list
list.Count;  //get length of list
list.Insert(2,"pos 2");  // Insert string "pos 2" in position 2
list[i];  //get item from index i
 
PREVIOUS NEXT
Tagged: #list
ADD COMMENT
Topic
Name
5+3 =