Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c sharp list length

// To get the length of a List use 'List<T>.Count'
List<string> stringList = new List<string>{"string1", "string2"};
stringList.Count
// Output:
// 2
 
PREVIOUS NEXT
Tagged: #sharp #list #length
ADD COMMENT
Topic
Name
6+6 =