I need to get the index of a Tuple<string,string,string,string> in a List with three given items, but it doesn’t matter what the fourth is. Ex:
Listoftuples.IndexOf(new Tuple<string,string,string,string>("value1","value2","value3","this value does not matter"))
Is there a wild card characters when it comes to indexes, or is there a different way to go about this?
You might want to create a function to create the predicate:
then you can use