Static Using Example 2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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