Courses
Tutorials
Practice
Data Structure
Java
Python
HTML
Interview Preparation
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Similar Topics
Web Technologies
37.4K+ articles
DSA
22.8K+ articles
Python
21.3K+ articles
Experiences
16.6K+ articles
Interview Experiences
14.2K+ articles
JavaScript
12.2K+ articles
School Learning
11.5K+ articles
C#
1.9K+ articles
CSharp-Generic-Namespace
140+ articles
CSharp-LinkedList
19+ articles
CSharp-LinkedList-Methods
13 posts
Recent Articles
Popular Articles
C# | Removing all nodes from LinkedList<T>
Last Updated: 01 February 2019
LinkedListT.Clear method is used to remove the all nodes from the LinkedListT.Syntax:public void Clear ();Below given are some examples to understand the implementation in...
read more
C#
CSharp-Generic-Namespace
CSharp-LinkedList
CSharp-LinkedList-Methods
C# | Check if a value is in LinkedList<T>
Last Updated: 22 June 2022
LinkedListT.Contains(T) method is used to check whether a value is in the LinkedListT or not. Syntax:public bool Contains (T value);Here, value is the value to locate in t...
read more
C#
CSharp-Generic-Namespace
CSharp-LinkedList
CSharp-LinkedList-Methods
C# | Find the first node in LinkedList<T> containing the specified value
Last Updated: 01 February 2019
LinkedListT.Find(T) method is used to find the first node that contains the specified value.Syntax:public System.Collections.Generic.LinkedListNodeT Find (T value);Here, v...
read more
C#
CSharp-Generic-Namespace
CSharp-LinkedList
CSharp-LinkedList-Methods
C# | Find the last node in LinkedList<T> containing the specified value
Last Updated: 01 February 2019
LinkedListT.FindLast(T) method is used to find the last node that contains the specified value.Syntax:public System.Collections.Generic.LinkedListNodeT FindLast (T value);...
read more
C#
CSharp-Generic-Namespace
CSharp-LinkedList
CSharp-LinkedList-Methods
C# | Removing the node at the start of the LinkedList<T>
Last Updated: 01 February 2019
LinkedListT.RemoveFirst method is used to remove the node at the start of the LinkedListT.Syntax:public void RemoveFirst ();Exception: The method throws InvalidOperationEx...
read more
C#
CSharp-Generic-Namespace
CSharp-LinkedList
CSharp-LinkedList-Methods
C# | Removing the node at the end of LinkedList<T>
Last Updated: 01 February 2019
LinkedListT.RemoveLast method is used to remove the node at the end of the LinkedListT.Syntax:public void RemoveLast ();Exception: The method throws InvalidOperationExcept...
read more
C#
CSharp-Generic-Namespace
CSharp-LinkedList
CSharp-LinkedList-Methods
C# | Copy the entire LinkedList<T> to Array
Last Updated: 01 February 2019
LinkedListT.CopyTo(T[], Int32) method is used to copy the entire LinkedListT to a compatible one-dimensional Array, starting at the specified index of the target array.Syn...
read more
C#
CSharp-Generic-Namespace
CSharp-LinkedList
CSharp-LinkedList-Methods
C# | Removing the specified node from the LinkedList<T>
Last Updated: 01 February 2019
Remove(LinkedListNodeT) method is used to remove the specified node from the LinkedListT.Syntax:public void Remove (System.Collections.Generic.LinkedListNodeT node);Here, ...
read more
C#
CSharp-Generic-Namespace
CSharp-LinkedList
CSharp-LinkedList-Methods
C# | Removing first occurrence of specified value from LinkedList<T>
Last Updated: 20 June 2022
Remove(T) method is used to remove the first occurrence of the specified value from the LinkedListT. Syntax:public bool Remove (T value);Here, value is the value to remove...
read more
C#
CSharp-Generic-Namespace
CSharp-LinkedList
CSharp-LinkedList-Methods
C# | Adding new node or value at the start of LinkedList<T>
Last Updated: 01 February 2019
LinkedListT.AddFirst Method is used to add a new node or value at the starting of the LinkedListT. There are 2 methods in the overload list of this method as follows: ...
read more
C#
CSharp-Generic-Namespace
CSharp-LinkedList
CSharp-LinkedList-Methods
C# | Adding new node or value at the end of LinkedList<T>
Last Updated: 01 February 2019
LinkedListT.AddLast Method is used to add a new node or value at the end of the LinkedListT. There are 2 methods in the overload list of this method as follows: AddLas...
read more
C#
CSharp-Generic-Namespace
CSharp-LinkedList
CSharp-LinkedList-Methods
C# | Getting an enumerator that iterates through LinkedList<T>
Last Updated: 01 February 2019
LinkedListT.GetEnumerator Method is used to get an enumerator that iterates through the LinkedListT.Syntax:public System.Collections.Generic.LinkedListT.Enumerator GetEnum...
read more
C#
CSharp-Generic-Namespace
CSharp-LinkedList
CSharp-LinkedList-Methods
C# | Check if two LinkedList<T> objects are equal
Last Updated: 01 February 2019
Equals(Object) Method which is inherited from the Object class is used to check if a specified LinkedListT object is equal to another LinkedListT object or not.Syntax:publ...
read more
C#
CSharp-Generic-Namespace
CSharp-LinkedList
CSharp-LinkedList-Methods
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !