mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2026-07-01 18:44:33 -07:00
Add ConsoleIO implementation and sample program
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
using Games.Common.IO;
|
||||
|
||||
var io = new ConsoleIO();
|
||||
|
||||
var name = io.ReadString("What's your name");
|
||||
|
||||
io.WriteLine($"Hello, {name}");
|
||||
Reference in New Issue
Block a user