Skip to content

Instantly share code, notes, and snippets.

@jdunne
Created December 20, 2016 02:13
Show Gist options
  • Save jdunne/85e39ab82bc6355dcf93ee5060a83490 to your computer and use it in GitHub Desktop.
Save jdunne/85e39ab82bc6355dcf93ee5060a83490 to your computer and use it in GitHub Desktop.
string uri = configFile.GetValue(“serviceUri”); 
if(uri == null)
{
  uri = “http://example.com/service";
}
ConnectToService(uri);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment