Skip to content

Tag Archives: CSharp-Collections-Namespace

SortedList class is a collection of (key, value) pairs which are sorted according to keys. Those pairs can be accessible by key and as well… Read More
SortedList class is a collection of (key, value) pairs which are sorted according to keys. Those pairs can be accessible by key and as well… Read More
List<T>.Reverse Method is used to reverse the order of the elements in the List<T> or a portion of it. There are two methods in the… Read More
List<T>.RemoveAll(Predicate<T>) Method is used to remove all the elements that match the conditions defined by the specified predicate. Properties of List: It is different from… Read More
SortedList class is a collection of (key, value) pairs which are sorted according to keys. Those pairs can be accessible by key and as well… Read More
List<T>.InsertRange(Int32, IEnumerable<T>) Method is used to insert the elements of a collection into the List<T> at the specified index. Properties of List: It is different… Read More
List<T>.RemoveAt (Int32) Method is used to remove the element at the specified index of the List<T>. Properties of List: It is different from the arrays.… Read More
List<T>.Find(Predicate<T>) Method is used to search for an element which matches the conditions defined by the specified predicate and it returns the first occurrence of… Read More
SortedList class is a collection of (key, value) pairs which are sorted according to keys. Those pairs can be accessible by key and as well… Read More
SortedList class is a collection of (key, value) pairs which are sorted according to keys. Those pairs can be accessible by key and as well… Read More
List<T>.Exists(Predicate<T>) Method is used to check whether the List<T> contains elements which match the conditions defined by the specified predicate. Properties of List: It is… Read More
List<T>.FindAll(Predicate<T>) Method is used to get all the elements that match the conditions defined by the specified predicate. Properties of List: It is different from… Read More
List<T>.Contains(T) Method is used to check whether an element is in the List<T> or not. Properties of List: It is different from the arrays. A… Read More
List<T>.RemoveRange(Int32, Int32) Method is used to remove a range of elements from the List<T>. Properties of List: It is different from the arrays. A list… Read More
ArrayList represents an ordered collection of an object that can be indexed individually. It is basically an alternative to an array. It also allows dynamic… Read More