|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FacadeLib;
namespace FacadeUnplugged
{
class Program
{
static void Main(string[] args)
{
Customer cust = new Customer("ABC", "Senior software engineer");
Mortgage_Facade mortgage = new Mortgage_Facade();
if (mortgage.IsEligible(cust))
{
Console.WriteLine(string.Format("Customer: {0} \n Occupation: {1} \n Status: Eligible", cust.Name, cust.Occupation));
}
else
{
Console.WriteLine(string.Format("Customer: {0} \n Occupation: {1} \n Status: Not Eligible", cust.Name, cust.Occupation));
}
Console.Read();
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
I have more than 5 yrs of work ex as a software developer for a Financial Consulting firm and an Investment bank. My technical expertise include C# programming,WPF,WCF, SSRS reporting,ASP.Net and MS SQL (2005 & 2008).