Given such a list:
List intList = new List(); intList.Add(5); intList.Add(10); intList.Add(15);
this way :
var maxIndex = foo.IndexOf(foo.Max());