C#, Microsoft Windows

Launch URL in default browser using C#

To open a url in user’s default browser add the following C# line of code:

try{
    System.Diagnostics.Process.Start("http://www.google.com");
}
catch(Exception ex){
    //oops something went wrong
}