Thursday, May 26, 2011

Something important about structs




Structs cannot contain explicit parameterless constructors
Structs can be only public or internal.
Struct members can be public, private or internal.
Struct can nest a class.
If you create a parametersised constructor, you MUST initialise all members in it.

No comments:

Post a Comment

How to check local and global angular versions

 Use the command ng version (or ng v ) to find the version of Angular CLI in the current folder. Run it outside of the Angular project, to f...