I have string list like,
list[0]="want"
list[1]="to"
list[2]="create"
list[3]="user"
list[4]="account"
I need to take the "user" string's index value. i.e, 3. I tried this way,
list.Where(o => o.Contains("user")).ToList();
I know it won't return the index position. How can I achieve this? Anyhelp?