i am new in vb i am trying to demonstrates a function that returns a customer data type. but i got the errors
"Warning 1 Variable 'Company' is used before it has been assigned a value. A null reference exception could result at runtime",
Warning 2 Variable 'Address' is used before it has been assigned a value. A null reference exception could result at runtime,
"Warning 3 Variable 'city' is used before it has been assigned a value. A null reference exception could result at runtime.
" Warning 4 Variable 'Country' is used before it has been assigned a value. A null reference exception could result at runtime".
i have tried to solve these but not fix these errors. please tell me how to fix these
Thanks in advance
"Warning 1 Variable 'Company' is used before it has been assigned a value. A null reference exception could result at runtime",
Warning 2 Variable 'Address' is used before it has been assigned a value. A null reference exception could result at runtime,
"Warning 3 Variable 'city' is used before it has been assigned a value. A null reference exception could result at runtime.
" Warning 4 Variable 'Country' is used before it has been assigned a value. A null reference exception could result at runtime".
i have tried to solve these but not fix these errors. please tell me how to fix these
Thanks in advance