Add ConsoleIO implementation and sample program

This commit is contained in:
Andrew Cooper
2022-02-15 22:30:40 +11:00
parent ee84b19150
commit fc92500074
2 changed files with 23 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
using Games.Common.IO;
var io = new ConsoleIO();
var name = io.ReadString("What's your name");
io.WriteLine($"Hello, {name}");