What is the difference between a Specialized String Collection
and a Generic String List
in C#?
And how to convert a Specialized
one into a Generic
one?
System.Collections.Specialized.StringCollection specialized = new System.Collections.Specialized.StringCollection() { "s123", "s321" };
System.Collections.Generic.List<string> generic = new System.Collections.Generic.List<string>() { "g123", "g321" };