using System;
namespace ss{
class NUM{
public int[] numbers;
}
class MainClass {
public static void Main (string[] args) {
var num = new NUM();
num.numbers[90] = 12;
Console.WriteLine (num.numbers[90]);
}
}
}
when I execute this code I get this error, it never happened to me
System.NullReferenceException: Object reference not set to an instance of an object
at ss.MainClass.Main