|
-
Mar 11th, 2013, 10:25 PM
#1
[RESOLVED] Freaky thing with Point type.
I've just noticed after all my time in VB.Net that the Point structure has a constructor that takes no parameters. The really freaky thing is that such a thing is supposed to be illegal. VB.Net doesn't allow you to define structures with a parameterless constructor. The only way to get a structure to accept a constructor with no parameters is not define one which makes it impossible to define if you have other constructors that take parameters and the Point structure does.
Anyone has any idea how this is possible ?
Last edited by Niya; Mar 11th, 2013 at 10:32 PM.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|