Difference between Specialized String collection and Generic list C#

1.2k Views Asked by At

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

There are 0 best solutions below