Skip to content

Instantly share code, notes, and snippets.

@joshi-kumar
Created February 17, 2018 11:40
Show Gist options
  • Save joshi-kumar/b738d32ea52126abf3f5c80ca86e3395 to your computer and use it in GitHub Desktop.
Save joshi-kumar/b738d32ea52126abf3f5c80ca86e3395 to your computer and use it in GitHub Desktop.
Convert variable value into string format
string accountActivationUrl = string.Format("{0}/customer/activation?token={1}&email={2}", url, "AccountActivationToken", HttpUtility.UrlEncode(email));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment