return new object vb.net code example Example: return new object vb.net Dim anonymousCust = New With {.Name = "Hugo Garcia"}