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; }
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> 경우 및 First 속성은 .를 Last 포함합니다null.

이 속성의 값을 검색하는 것은 O(1) 작업입니다.

적용 대상