내부의 메소드를 호출하는 나는 다음과 같은 VB.NET 코드가 : 이제어떻게 VB.NET 모듈
Namespace Data
Public Module Part
Public function IsValidPart()
End Function
End Module
End NameSpace
, 어떻게 내가 Part
모듈의 IsValidPart
메서드를 호출 할을? 내가 메소드를 호출 할 때, 나는 다음과 같은 오류가 발생합니다 :
The type initializer for 'MyCompany.Lender.Data.Part' threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object..
당신이 옳았습니다! – azamsharp