Hi all,
Im getting "Object reference not set to an instance of an object" when im calling the keyword "this".
I can't understand how this is even possible, when if im calling "this" from within a class, it must be set to an instance of an object..
Is there scope on where you can call "this" from? e.g. im referencing it from a try catch block within a private method of the class.
Any ideas?
Thanks,
Matt.
Im getting "Object reference not set to an instance of an object" when im calling the keyword "this".
I can't understand how this is even possible, when if im calling "this" from within a class, it must be set to an instance of an object..
Is there scope on where you can call "this" from? e.g. im referencing it from a try catch block within a private method of the class.
Any ideas?
Thanks,
Matt.