Dear programmers)) Please tell me - why in С# this line
string [this.LevelNumber] mass = new string [this.LevelNumber];
isn't permissible? What can be an equivalent for it?
Thank you for your answers)
Dear programmers)) Please tell me - why in С# this line
string [this.LevelNumber] mass = new string [this.LevelNumber];
isn't permissible? What can be an equivalent for it?
Thank you for your answers)
string[] mass = new string[this.LevelNumber];
You tell a variable it will be an array ( string[] mass
). Then you assign space to hold the values ( = new string[this.LevelNumber];
)
Momerath ,thanks for the reply)
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.