public void DoSomething(string message) { if(message == null) throw new ArgumentNullException(); // ... } 方法體的每個引數都將用if陳述句進行檢查 ...
確定! 回上一頁