We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Library provides several read-only wrappers for most commonly used collections:
List<int> testList = new List<int>(); ReadOnlyList<int> readOnlyList = testList.AsReadOnlyList(); Dictionary<int, int> testDictionary = new Dictionary<int, int>(); ReadOnlyDictionary<int, int> readOnlyDictionary = testDictionary.AsReadOnlyDictionary(); HashSet<int> testHashSet = new HashSet<int>(); ReadOnlyHashSet<int> readOnlyHashSet = testHashSet.AsReadOnlyHashSet();