See the line of code below:
DataTable [] _tables = null;
In these lines of code, I have a _tables link and try to access its system functions define GetType() and Count() , both throw an exception, but why .Count() throws System.ArgumentNullException , since we have the same thing value for reference which is null ?
c # nullreferenceexception argumentexception
Ankush madankar
source share