The drawbacks of collections in .net are:
1. Performance will be low as they store each and every member as an object
2. Incorrect parsing throws runtime "Invalid Cast" exception
Examples of System.Collections: Array List, Hash Table, Stack, Queue
Note: System.Collections.Generic came up in .NET 2.0 to overcome the drawbacks of collections.
Asked In: Many Interviews |