' Visual Basic 2008 9.0 .NET Examples - Introduction to Object Oriented Programming - Object Oriented Programming : Module Client1 Sub Main() Dim person1 As New Person ' (4) person1.SetName("John") ' (5) Console.WriteLine(person1.GetName()) ' (6) ' Dim person2 As New Person person2.SetName("Jane") Console.WriteLine(person2.GetName()) ' Console.ReadLine() End Sub End Module ' Visit www.studyvb.com for more examples. Copyright 2003-2008 De Wolf.