Link to home
Start Free TrialLog in
Avatar of glenn_r
glenn_r

asked on

vb.net object instantiation and initializing properties

In C# I can create a object and if the class has exposed properties I can quickly instantiate them using the following technique. Does such a thing exist in VB.NET?

Car car = new Car()
{ Brand = "Ford", Model = "195" };
ASKER CERTIFIED SOLUTION
Avatar of Gerry Bartley
Gerry Bartley
Flag of Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial