+ 1

Are arrays in C# dynamic, unlike in c++?

7th Aug 2016, 9:52 PM
Joshua Vaughan
Joshua Vaughan - avatar
3 ответов
+ 4
No, arrays aren't dynamic but instead you can use Lists for that purpose. Lists are dynamic. (Also dictionaries)
9th Aug 2016, 1:42 AM
Alireza M
Alireza M - avatar
+ 4
they not but like Ali said, you can use the list class like this List<string> li = new List<string>; li.Add ("some text");
21st Aug 2016, 2:49 PM
avy7352
avy7352 - avatar
0
No they aren't
8th Aug 2016, 11:44 AM
Gabriel “zogglerplays” Schwienbacher
Gabriel “zogglerplays” Schwienbacher - avatar