方法形式:
private bool IsStackFull() { return StackPointer >= MaxStack; }
屬性形式:
private bool IsStackFull { get { return StackPointer >= MaxStack; } }
····
lamda形式
bool IsStackFull => StackPointer >= MaxStack;
方法形式:
private bool IsStackFull() { return StackPointer >= MaxStack; }
屬性形式:
private bool IsStackFull { get { return StackPointer >= MaxStack; } }
····
lamda形式
bool IsStackFull => StackPointer >= MaxStack;