'Visual Basic 2010 Nut van OOP Object Oriented Programming Partial Class Loan Private m_MonthDuration As Integer Public Property MonthDuration() As Integer Get MonthDuration = m_MonthDuration End Get Set(ByVal value As Integer) m_MonthDuration = value End Set End Property Public Function GetMonthlyPayment() As Decimal GetMonthlyPayment = GetTotalPayment() / MonthDuration End Function End Class 'Bezoek www.vbvoorbeelden.be voor meer Visual Basic voorbeelden. 'Copyright - De Wolf / vbvoorbeelden - 2003-2011 - Alle rechten voorbehouden.