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
If you want it global, you could write an extension method:
public static class StringExtensions { public static void ConLog(this string msg) { Console.WriteLine(msg); } }
Now wherever you are, you can call "My Message".ConLog(); on any string in your application and write it to the console.
"My Message".ConLog();