Skip to content

Instantly share code, notes, and snippets.

@ankitvijay
Last active January 13, 2018 22:58
Show Gist options
  • Save ankitvijay/94c81af2c7a4d26833aaf6f7ab9699f2 to your computer and use it in GitHub Desktop.
Save ankitvijay/94c81af2c7a4d26833aaf6f7ab9699f2 to your computer and use it in GitHub Desktop.
Static Using Example 2
using static staticUsingExample.Logger;
namespace staticUsingExample
{
class Program
{
static void Main(string[] args)
{
DebugLog("Member Start");
// Execute method
Log("Testing logging inside Main() method");
DebugLog("Member End");
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment