object reference not set to an instance of an object
A message that appears when the computer feels like you’re ignoring it. It’s like the computer’s saying, ‘You didn’t even bother to tell me what it was.’
I got that error when I tried to use a variable that didn’t exist. It was like the computer was saying, ‘What is this nonsense?’
That error showed up in my code, and I just stared at it for five minutes. I didn’t even know what it meant.
I tried to call a method on a null object. The error came up and said, ‘Object reference not set to an instance of an object.’ I had no idea what that meant.
xs