using System.Collections.Concurrent; namespace Terminal.Gui.App; public static partial class Application // Current handling { /// [Obsolete ("The legacy static Application object is going away.")] public static ConcurrentStack SessionStack => ApplicationImpl.Instance.SessionStack; /// The that is on the top of the . /// The top runnable. [Obsolete ("The legacy static Application object is going away.")] public static Toplevel? TopRunnable { get => ApplicationImpl.Instance.TopRunnable; internal set => ApplicationImpl.Instance.TopRunnable = value; } }