News

5. Don’t use default properties. Visual Basic 6 saves you time by letting you access the default properties for an object. In contrast, Visual Basic.Net requires that you explicitly define the ...
If you ever need to work with all of the properties in some object, you can use GetType and GetProperties to retrieve the object's PropertyInfo objects. After that you can do what you want. Here's an ...
When your objects get sufficiently complicated to create ... By declaring the constructor as internal (in C#) or Friend (in Visual Basic) you ensure the constructor can't be accessed by a client ...