Static imports import methods from a module into the current scope. So if you
find yourself using WriteLine
frequently? Consider a static import.
using static System.Console;
WriteLine("Whatever");
Static imports import methods from a module into the current scope. So if you
find yourself using WriteLine
frequently? Consider a static import.
using static System.Console;
WriteLine("Whatever");