I was wondering when I should use List< string > and when I should use StringCollection.
Let\'s say that I have to deal with large
I would personally prefer to use List
:
IEnumerable
rather than just IEnumerable
, and thus supports LINQI would be really surprised to find StringCollection
to be significantly faster than List
- see if you can back that up with numbers. My only cause for hesitation is that GridView
could potentially have hard-coded support for StringCollection
to make it fast with that type - but that sounds pretty unlikely to me.