So, you want to retrieve the index of an matching item in an array or a collection and you want to use LINQ. For example, I want to get the month number given the month name – If I pass 3, I should get March Of course, you could write your own enum and other stuffs, but there is already an out-of...
[More]