Skip to content

Instantly share code, notes, and snippets.

@dcomartin
Last active October 27, 2017 01:26
Show Gist options
  • Save dcomartin/21889dba35ed86b18afe0769dc0fba38 to your computer and use it in GitHub Desktop.
Save dcomartin/21889dba35ed86b18afe0769dc0fba38 to your computer and use it in GitHub Desktop.
public string RemoveWhitespace(string name)
{
return name?.Replace(" ", "");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment