在delphi中,当使用了某个其他模块的量的时候,会报错.如ExcelApplication的excel操作,这时候我们把光标放在ExcelApplication的excel操作字样上,按F1,就知道该引用哪个模块.
那么,在c#中呢,尤其俺是初学者,根本不知道应该using哪些东,有什么办法能知道要using 哪个呢,请各位不吝赐教.
由于不太了解,可能说的不够清晰,例子如下:
System.Diagnostics.ProcessStartInfo ps = new System.Diagnostics.ProcessStartInfo("ping.exe","127.0.0.1");
ps.UseShellExecute = false;
ps.CreateNoWindow = true;
ps.RedirectStandardOutput = true;
Process p = Process.Start(ps);
p.WaitForExit();
string OutPut = p.StandardOutput.ReadToEnd();
this.TextBox1.Text = OutPut;那么,其中的这个Process,我怎么知道它using哪个库呢?
那么,在c#中呢,尤其俺是初学者,根本不知道应该using哪些东,有什么办法能知道要using 哪个呢,请各位不吝赐教.
由于不太了解,可能说的不够清晰,例子如下:
System.Diagnostics.ProcessStartInfo ps = new System.Diagnostics.ProcessStartInfo("ping.exe","127.0.0.1");
ps.UseShellExecute = false;
ps.CreateNoWindow = true;
ps.RedirectStandardOutput = true;
Process p = Process.Start(ps);
p.WaitForExit();
string OutPut = p.StandardOutput.ReadToEnd();
this.TextBox1.Text = OutPut;那么,其中的这个Process,我怎么知道它using哪个库呢?
在帮助里输入Process可以找到引用类库了