Skip to content

Tag Archives: CSharp-method

Methods in C# programming language

This method is used to return a 64-bit unsigned integer converted from eight bytes at a specified position in a byte array. Syntax: public static… Read More
Equals(Object) Method which is inherited from the Object class is used to check if a specified StringDictionary object is equal to another StringDictionary object or… Read More
Equals(Object) Method which is inherited from the Object class is used to check if a specified HybridDictionary object is equal to another HybridDictionary object or… Read More
This method is used to compare this instance to a specified 8-bit unsigned integer and returns an indication of their relative values. Syntax: public int… Read More
List<T>.AsReadOnly Method is used to get a read-only ReadOnlyCollection<T> wrapper for the current collection. Syntax: public System.Collections.ObjectModel.ReadOnlyCollection<T> AsReadOnly (); Return Value: It returns an object… Read More
HashSet<T>.GetEnumerator Method is used to get an enumerator that iterates through a HashSet object. Syntax: public System.Collections.Generic.HashSet<T>.Enumerator GetEnumerator (); Return Value: It returns a HashSet<T>.Enumerator… Read More
Equals(Object) Method which is inherited from the Object class is used to check if a specified HashSet<T> object is equal to another HashSet<T> object or… Read More
Equals(Object) Method which is inherited from the Object class is used to check if a specified List<T> object is equal to another List<T> object or… Read More
Equals(Object) Method which is inherited from the Object class is used to check if a specified SortedSet<T> object is equal to another SortedSet<T> object or… Read More
SortedList.Clone() Method is used to create a shallow copy of a SortedList object. Syntax: public virtual object Clone(); Return Value: It returns a shallow copy… Read More
List<T>.AsReadOnly Method is used to get a read-only ReadOnlyCollection<T> wrapper for the current collection. Syntax: public System.Collections.ObjectModel.ReadOnlyCollection AsReadOnly (); Return Value: It returns an object… Read More
An array is a group of like-typed variables that are referred to by a common name. And each data item is called an element of… Read More
List<T>.TrueForAll(Predicate<T>) is used to check whether every element in the List<T> matches the conditions defined by the specified predicate or not. Syntax: public bool TrueForAll… Read More
Equals(Object) Method which is inherited from the Object class is used to check if a specified BitArray object is equal to another BitArray object or… Read More
Equals(Object) Method which is inherited from the Object class is used to check whether the specified SortedList object is equal to another SortedList object or… Read More