Given such a list:
List intList = new List(); intList.Add(5); intList.Add(10); intList.Add(15);
Use a custom function, using Max() and IndexOf() cost more.