class Amatya{ static void Main() { List<int> val = new List<int>() { 4, 10, 25, 50}; int oddVal = val.FindIndex(x => x % 2!= 0); Console.WriteLine(oddVal) }}
Login to post response