Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# list find index

// given list1 {3, 4, 6, 5, 7, 8}
list1.FindIndex(x => x==5);  // should return 3, as list1[3] == 5;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #list #find #index
ADD COMMENT
Topic
Name
3+5 =