The console class handles the thread synchronization for you.
From the documentation of Console:
I/O operations using these streams are
synchronized, which means multiple
threads can read from, or write to,
the streams.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…