문제

Any Data Collection to keep the strings? I want to know any other data collection that can keep string, because enum cannot keep string.

도움이 되었습니까?

다른 팁

How about ICollection<string> or List<string> or a static array of strings (string[])?

System.Collections.Specialized.StringCollection

If you decide to go with WPF or Silverlight and need to databind to it then you should use

ObservableCollection<string>

Although I should point out that string is not mutable.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top