Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27554

[RESOLVED] Freaky thing with Point type.

$
0
0
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 ?

Viewing all articles
Browse latest Browse all 27554

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>