开发者

Silverlight (WP7) variable sized array?

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;
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜