[問題] 關於System.Diagnostics

看板C_Sharp作者 (順著感覺走)時間15年前 (2011/02/24 20:46), 編輯推噓0(002)
留言2則, 2人參與, 最新討論串1/1
System.Diagnostics.Process myprocess = new System.Diagnostics.Process(); 為什麼他會 顯示'System.Diagnostics'中沒有型別或命名空間名稱'Process'? 我確定我有宣告using System.Diagnostics; 剛碰C#不久...希望高手可以幫小弟解答!! -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.117.169.193

02/25 04:00, , 1F
應該是在參考再把System.Diagnostics的DLL加進來就好了
02/25 04:00, 1F

02/25 08:44, , 2F
用System.Diagnostics要自己加入參考(add reference)
02/25 08:44, 2F
文章代碼(AID): #1DPbCltw (C_Sharp)