static Console () { @in = new StreamInputStream (System.Console.OpenStandardInput ()); @out = new StreamOutputStream (System.Console.OpenStandardOutput ()); @err = new StreamOutputStream (System.Console.OpenStandardError ()); @out_ps = new ConsolePrintStream (@out); @err_ps = new ConsolePrintStream (@err); console = new Console (@in, @out); }
static Console() { @in = new StreamInputStream(System.Console.OpenStandardInput()); @out = new StreamOutputStream(System.Console.OpenStandardOutput()); @err = new StreamOutputStream(System.Console.OpenStandardError()); @out_ps = new ConsolePrintStream(@out); @err_ps = new ConsolePrintStream(@err); console = new Console(@in, @out); }