I want an array of strings whose size is va开发者_开发问答riable and changes while the app is running, like Cocoa's NSMutableArray. Is that possible?
You want a List
.
List<string> strings = new List<string>();
strings.Add("a");
strings.Add("b");
int size = strings.Count;
精彩评论