The example is .NET Core 2.1, but the actual library itself is .NET Standard 2.0.
It will depend on how the System.Console class is implemented in Linux and macOS. It might fair better to port the example to Mono or .NET Core 3.0 (which should just be a change of build settings).
Comments
It's .Net Core but there doesn't seem to be any mention of running it on Linux or macOS.
The example is .NET Core 2.1, but the actual library itself is .NET Standard 2.0.
It will depend on how the System.Console class is implemented in Linux and macOS. It might fair better to port the example to Mono or .NET Core 3.0 (which should just be a change of build settings).
There's an issue where it throws an unsupported platform in Linux. :(