LinkedList<T>.First Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the first node of the LinkedList<T>.
public:
property System::Collections::Generic::LinkedListNode<T> ^ First { System::Collections::Generic::LinkedListNode<T> ^ get(); };
public System.Collections.Generic.LinkedListNode<T> First { get; }
public System.Collections.Generic.LinkedListNode<T>? First { get; }
member this.First : System.Collections.Generic.LinkedListNode<'T>
Public ReadOnly Property First As LinkedListNode(Of T)
Property Value
The first LinkedListNode<T> of the LinkedList<T>.
Examples
For an example that includes this property, see the LinkedList<T> class.
Remarks
LinkedList<T> accepts null
as a valid Value for reference types and allows duplicate values.
If the LinkedList<T> is empty, the First and Last properties contain null
.
Retrieving the value of this property is an O(1) operation.
Applies to
GitHub पर हमारे साथ सहयोग करें
इस सामग्री का स्रोत GitHub पर पाया जा सकता है, जहाँ आप समस्याएँ बना और समीक्षा भी कर सकते हैं और अनुरोध खींच सकते हैं. अधिक जानकारी के लिए, हमारे योगदानकर्ता गाइड देखें.