Hi guys ) Please help me - I can't understand - what's the meaning of this error message .
Object reference not set to an instance of an object.
for this piece of code -
CityName = "NY";
this.MapCityMass.ArrayOfCities[this.NumberOfCities].CityName = CityName;
this class's code -
public class CITY
{
public int namber;
public string CityName;
public int x;
public int y;
public DinArray roadmass;
public DinArray roadnamesmass;
}
thank you in advance for your answers))