4
Reply

System.NullReferenceException

Sunshine

Sunshine

Jun 8 2016 6:46 PM
364
Hi,
I have an Interface. I call the interface from my form as this.
 
IExample myExample = null;
myExample.Height = 12;
 
But I get error that myExample is null.
Could I know what is the solution please?
Thanks

Answers (4)