更新:2007 年 11 月
错误消息
缺少参数。方法调用中缺少参数。
更正此错误
仔细检查方法的签名,然后找到缺少的参数并提供该参数。
示例
下面的示例生成 CS0839:
复制代码 | |
---|---|
// cs0839.cs using System; namespace TestNamespace { class Test { static int Add(int i, int j) { return i + j; } static int Main() { int i = Test.Add( , 5); // CS0839 return 1; } } } |