I have already have a look at such posts like: Object Reference Errors but still cannot find the answer I am looking for.
foreach (var test in (gathered as tblbus_address).Address1)
returns this error:
System.NullReferenceException: Object reference not set to an instance of an object.
I have tried checking if it is null before:
if(!string.IsNullOrEmpty((gathered as tblbus_address).Address1){}
I have tried adding ToString();
and making sure it is !=null;
However, even after all this, I receive the same error.