using System;
using System.Collections.Generic;
namespace ConsoleApplication_C_Sharp
{
class Program
{
static void Main()
{
List<int> list = new List<int>() { 2, 6, 13, 19, 32, 53, 99 };
int i = list.FindIndex(x => x % 2 != 0);
Console.WriteLine(i);
}
}
}
/*
run:
2
*/