The default value of the UseShellExecute property has changed.
https://learn.microsoft.com/en-us/dotnet/api/system.diagnostics.processstartinfo.useshellexecute
That sample is for .NET Framework.
For .NET Core or .NET please do the following:
using System.Diagnostics;
string target = "http://www.microsoft.com";
var info = new ProcessStartInfo {
FileName = target,
UseShellExecute = true
};
Process.Start(info);