Thursday, May 27, 2010

Not a nullale type - C# 2008

Complete error:
Cannot convert null to 'myNameServer.myStructName' because it is a non-nullable value type

Use class instead of struct.

(temporary solution only, hopefully this post will be edited)

No comments: