I have to type Console.WriteLine() many times in my code. Is it possible to create a shortcut for Console.WriteLine so that I can use it like...
CW=Console.Wr
One of my favorites also... Coming from BASIC and Python... I missed Print() very often... I also use Print() extensively in JS/ES for console.log/other-consoles often...
So declare it as a function:
public static void Print( object x ){ Console.WriteLine( x ); }
Print( "Hi\n\n" + x.toString() + "\n\nBye!!!" );
Print( $"{x} ~ {y} ~ {z}" );