Created
July 6, 2020 15:38
-
-
Save sefatanam/269baff46a725789fd723c0a9f174490 to your computer and use it in GitHub Desktop.
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
private void DebugOutput(object obj) | |
{ | |
try | |
{ | |
System.Diagnostics.Debug.Write(obj + Environment.NewLine); | |
} | |
catch (Exception ex) | |
{ | |
System.Diagnostics.Debug.Write(ex.Message.ToString() + Environment.NewLine); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You don't need to set debug manually in the program if you want to justify a variable