using System; using IConsoleShell; public static void Main(string[] args) { IConsole console = new ConsoleWrapper(); console.Write("Hello World!"); }
using System; using IConsoleShell; public static void Main(string[] args) { IConsole console = new ConsoleWrapper(); console.Write("Please enter your name: "); string name = console.ReadLine(); console.Write("Hello, " + name + "!"); }In this example, we are taking user input from the console using the `ReadLine()` method and then displaying a personalized message in the console. The CSharp IConsoleShell library is not a package library, but is a part of the .NET framework itself.