public static void Main()
var foo = new MyVector<int>(new [] { 0, 1, 2 });
var bar = new MyVector<double>(new [] { 0.01, 0.02, 3.14 });
Console.WriteLine(foo.CheckIfZeroAt(0));
Console.WriteLine(foo.CheckIfZeroAt(2));
public MyVector(T[] array)
public bool CheckIfZeroAt(int i)
return vector[i].Equals(default(T));