Imports System.Collections
Imports System.Collections.Generic
dim names As New List(Of Names)
names.Add(New Names("Joaquim"))
names.Add(New Names("Pedro", "Moraes"))
names(0).LastName = "Barbosa"
Console.WriteLine(names(0).FullName)
Console.WriteLine(names(1).FullName)
Sub New(ByVal first As String)
Sub New(ByVal first As String, ByVal last As String)
Public Property FirstName() As String
Private m_FirstName As String
Public Property LastName() As String
Private m_LastName As String
Public ReadOnly Property FullName() As String
Return Convert.ToString(FirstName & Convert.ToString(" ")) & LastName