vb list code example Example: inti list assign values in vb.net Dim list2 As New List(Of Integer)({2, 3, 5, 7})