//Visual Basic 2010 Nut van OOP Object Oriented Programming public class Loan { private int m_MonthDuration; public virtual int MonthDuration { get { MonthDuration = this.m_MonthDuration; } set { this.m_MonthDuration = value; } } public virtual void GetMonthlyPayment() { GetMonthlyPayment = (this.GetTotalPayment() / MonthDuration); } } //Bezoek www.vbvoorbeelden.be voor meer C# voorbeelden. //Copyright - De Wolf / vbvoorbeelden - 2003-2011 - Alle rechten voorbehouden.