How to get Odd and or Even index value from list Using Method Syntax

:memo:How to get Odd or Even index value from list Using Method Syntax. :question:

Input:
List(6)
{
“AA”,
“BB”,
“CC”,
“DD”,
“EE”,
“FF”
}

Output:
List(3)
{
“AA”,
“CC”,
“EE”
}

Expression:
listValues(List) = listValues.Where(Function(r,i) i mod 2 = 0).ToList

Thanks,
RajKumar Durai