A .NET/Mono ReadLine implementation