C# System.Collections.Generic ਵਿੱਚ ਡੇਟਾ ਦੇ ਸਮੂਹਾਂ ਨੂੰ ਸਟੋਰ ਕਰਨ ਲਈ ਸੰਗ੍ਰਹਾਂ ਦੀਆਂ ਕਿਸਮਾਂ ਦਾ ਇੱਕ ਅਮੀਰ ਸੈਟ ਪ੍ਰਦਾਨ ਕਰਦਾ ਹੈ। ਸਭ ਤੋਂ ਆਮ ਹਨ List<T> (dynamic array), Dictionary<K,V> (key-value map), ਅਤੇ HashSet<T> (unique set)। ਸਹੀ ਚੋਣ clarity ਅਤੇ performance ਲਈ ਮਾਇਨੇ ਰੱਖਦੀ ਹੈ।
