Monthly Archives: June 2012

Why Interfaces in C#

Consider the following code snippets- // Code for the IAccount interface module. public interface IAccount { void PostInterest(); void DeductFees(IFeeSchedule feeSchedule); } class BusinessAccount : IAccount { void IAccount.PostInterest() { // Code to post interest using the most favorable rate. … Continue reading

Posted in C#, Knowledge Sharing, Troubleshooting | 4 Comments