Hello All I have a question, when try to add data in my class "response" with VB.Net and I run the debbug get a error Message "is detected Null ReferenceException" do you know as I should correct this error? could help me please. thanks.
Below part the code
Module Module1
Sub Main()
try
dim res as new response
a.customers(1).phoneNumber="11023321"
a.customers(2).phoneNumbre="11023300"
a.expand=False
a.include=false
En sub
Public Class Response
Public Property Customers As List(Of Customer)
Public Property Expand As Boolean
Public Property Include As Boolean
End Class
Public Class Customer
Public Property PhoneNumber As String
End Class