Terminal.Gui is a library created by Miguel De Icaza. It's intended to create console-based applications using C#. The framework has been designed to make it easy to write applications that will work on monochrome terminals, as well as modern color terminals with mouse support.
You can find documentation in Terminal.Gui API Overview. NuGet Package is here.