C# Practise: System.Diagnostics.Process.Start
The following two code blocks are same:
1.
System.Diagnostics.Process.Start("http://www.glinknet.com");
return;
2.
System.Diagnostics.Process p = new System.Diagnostics.Process();
p.StartInfo.FileName = "http://www.glinknet.com";
p.StartInfo.Verb = "Show";
p.StartInfo.CreateNoWindow = true;
p.Start();
1.
System.Diagnostics.Process.Start("http://www.glinknet.com");
return;
2.
System.Diagnostics.Process p = new System.Diagnostics.Process();
p.StartInfo.FileName = "http://www.glinknet.com";
p.StartInfo.Verb = "Show";
p.StartInfo.CreateNoWindow = true;
p.Start();
2 Comments:
At 9:26 PM , YJ said...
Hey, i love your blog althought i don't know what is "c++", "c#"...
i will come again
At 12:32 PM , Anonymous said...
Come after you learned about C++ &/ C#! ;)
Post a Comment
Subscribe to Post Comments [Atom]
<< Home