DISQUS

DISQUS Hello! Emad Ibrahim is using DISQUS, a powerful comment system, to manage its comments. Learn more.

Community Page

Jump to original thread »
Author

Object and Array Initializers in VB 9

Started by eibrahim · 10 months ago

You can create a new object and initialize some of its properties in one shot. Most examples online are in C#, so here is an example in VB:

Dim mycar As New Car() With {.HasWheels = 4, .NumberOfAirbags = 2, .Passengers = 4}


As for array initialization, it look ... Continue reading »

0 comments

This thread has no comments yet.

Add New Comment

Returning? Login