Skip to content

Instantly share code, notes, and snippets.

@sefatanam
Created July 6, 2020 15:38
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sefatanam/269baff46a725789fd723c0a9f174490 to your computer and use it in GitHub Desktop.
Save sefatanam/269baff46a725789fd723c0a9f174490 to your computer and use it in GitHub Desktop.
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);
}
}
@sefatanam
Copy link
Author

Annotation 2020-07-06 214402

You don't need to set debug manually in the program if you want to justify a variable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment