Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c sharp list indexer

// You can index a List using listName[int]
List<string> stringList = new List<string>{"string1", "string2"};
string name = stringList[1];
// Output:
// "string2"
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #sharp #list #indexer
ADD COMMENT
Topic
Name
2+3 =