public void println() {synchronized (lock) {print(System.lineSeparator());if (autoFlush) {flush();}}}

public virtual void println(){lock (@lock){print(System.Environment.NewLine);if (autoFlush){flush();}}}
