Chapter 5 Page 151
Hi,
This line of code objCustomers.Add(objNewCustomer) gives me NullReference Exception, which make sense since Structures are passed by value, not by reference like a class. Coming from C# and going to help file om msdn it states that the Add() method of the ArrayList class expects a reference to an object.
I do not see how this code was able to run. Please advise.
Sincerely
Angelo
|