Company News and Bootcamp Blog

VisualStudio

What's New in Visual Basic 14: Parameterless Constructors in Structures

What's New in Visual Basic 14: Parameterless Constructors in Structures

"While everyone using the .NET Framework creates Classes, not many developers create Structures. For those of you who are creating Structures, Visual Basic 14 has some good news for you: You can now give your structure a constructor that doesn't accept parameters (a default constructor). Formerly any constructor you added to a Structure had to accept at least one parameter."