Why I can not use this instance?
class MainClass
{
List<int> d = new List<int> (5);
// d[0] error
public static void Main (string[] args)
{
// d[0] error
}
}
Why I can not use this object?