LinkedList<T>.Last 속성

정의

LinkedList<T>의 마지막 노드를 가져옵니다.

public:
 property System::Collections::Generic::LinkedListNode<T> ^ Last { System::Collections::Generic::LinkedListNode<T> ^ get(); };
public System.Collections.Generic.LinkedListNode<T> Last { get; }
public System.Collections.Generic.LinkedListNode<T>? Last { get; }
member this.Last : System.Collections.Generic.LinkedListNode<'T>
Public ReadOnly Property Last As LinkedListNode(Of T)

속성 값

LinkedListNode<T>의 마지막 LinkedList<T>입니다.

예제

이 속성을 포함하는 예제는 클래스를 참조하세요 LinkedList<T> .

설명

LinkedList<T>null 참조 형식에 유효한 Value 로 허용하고 중복 값을 허용합니다.

LinkedList<T> 비어 있으면 및 Last 속성에 가 First 포함됩니다null.

이 속성 값을 검색하는 것은 O(1) 연산입니다.

적용 대상