Sunshine

Sunshine

  • NA
  • 201
  • 26.7k

System.NullReferenceException

Jun 8 2016 6:46 PM
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)