' Visual Basic 2008 9.0 .NET Examples - Partial Methods - New in Visual Basic 2008 - 9.0 : Partial Class Stock Private Sub onPriceChanging(ByVal value As Decimal) Console.WriteLine("Doing something when the price is changing to " & _ value & ".") End Sub Private Sub onPriceChanged() Console.WriteLine("Doing something when the price changed.") End Sub End Class Class Example3 Public Shared Sub Main() Dim stock1 As New Stock stock1.Price = 10 ' Console.ReadLine() End Sub End Class ' Visit www.studyvb.com for more examples. Copyright 2003-2008 De Wolf.