Skip to content

Instantly share code, notes, and snippets.

@IntegerMan
Created October 9, 2019 03:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save IntegerMan/51ae1d20033f241a8892fa14adf5be18 to your computer and use it in GitHub Desktop.
Save IntegerMan/51ae1d20033f241a8892fa14adf5be18 to your computer and use it in GitHub Desktop.
public void MyMethod(string value) {
value ??= "Batman";
// Do something with value
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment