请参见下面的代码行:
DataTable [] _tables = null;
// Throws System.NullReferenceException
_tables.GetType();
// Throws System.ArgumentNullException
_tables.Count();
在这行代码中,我有_tables参考并试图访问它的系统定义函数GetType(),并且Count()都抛出异常但为什么.Count()会抛出System.ArgumentNullException,因为我们有相同的参考值是null什么?