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" };
glenn_rAsked:
Who is Participating?
 
Gerry BartleyConnect With a Mentor Software EngineerCommented:
Dim car As New Car With {.Brand = "Ford", .Model = "195"}
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.