Saturday, 21 March 2015

C# - How to fix error - The name 'Process' does not exist in the current context

Watch this example on YouTube


Replace
  string command = "mailto:test@test.com?subject=title&body=some text";
           Process.Start(command);

with

  string command = "mailto:test@test.com?subject=title&body=some text";
            System.Diagnostics.Process.Start(command);

No comments:

Post a Comment