System::Collections::Generic::IEnumerable::LINQ_LastOrDefault 方法
IEnumerable::LINQ_LastOrDefault method
返回序列的最后一个元素,如果序列为空则返回默认值。
T System::Collections::Generic::IEnumerable<T>::LINQ_LastOrDefault()
ReturnValue
序列中的最后一个元素,或在序列为空时返回默认构造的值。
另见
- Class IEnumerable
- Namespace System::Collections::Generic
- Library Aspose.Font for C++