Gets the item on the top of the stack.
Returns default(T) if the stack is empty.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public T PeekOrDefault()
Public Function PeekOrDefault As T
public: T PeekOrDefault()
Assembly: ICSharpCode.AvalonEdit (Module: ICSharpCode.AvalonEdit.dll) Version: 5.0.0.4238