Функция возвращает количество элементов последовательности, тип возвращаемого значения long.
using System;
//добавить ссылку
using System.Linq;
class Program {
public static int Main() {
int[] ara = new int[] { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 };
long val = ara.LongCount();
Console.WriteLine("{0} - тип {1}", val, val.GetType());
Console.ReadKey();
return 0;
}
}
10 - тип System.Int64