Dim p As New Person() p.Name = "" someFunc(p) 'OR Dim p As New Person() With p p.Name = "" End With someFunc(p) 'OR someFunc(New Person() With {.Name = ""})
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)