Property Depth Depth Gets the depth of the stack Declaration public int Depth { get; } Property Value Int32 Remarks The depth starts as 1 since the stack starts at the global scope.