我遇到了以下代码,我不确定它是什么意思?
public class Countries
{
public Countries();
public static bool AllowInvoice(string pCountryCode);
public static bool IsPostcodeMandatory(string pCountryCode);
}
Run Code Online (Sandbox Code Playgroud)
然后以下列方式调用此代码:
Contact.IncludePostCode = Countries.IsPostcodeMandatory(countryCode);
Run Code Online (Sandbox Code Playgroud)
在我看来,这是一个界面?正在定义方法的地方,但是正在写其他人的身体?
如果是这种情况,我希望当我搜索整个项目时,我会找到该方法体的代码,但我找不到它在哪里?
有什么建议?