![]() |
|
#1
|
|||
|
|||
![]()
What is
system.null reference exception: object reference not set to an instance of an object. and how do I fix it? |
#2
|
|||
|
|||
![]()
this message appears if you try to access a object that not exist.
To avoid it you can check for null value. If( ... != null) // check for null value. Only executed if the object exist { // code // ... } |
![]() |
|
|