|
using System;
namespace ObserverPatternClassic
{
/// <summary>
/// Summary description for BangaloreAirlines.
/// </summary>
public class BangaloreAirlines: Subject
{
public string TravelRout;
public double TravelFare;
public BangaloreAirlines(String RoutId, double Fare)
{
this.TravelRout=RoutId;
this.TravelFare=Fare;
}
public void AddNewRout()
{
Notify();
}
}
}
|
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.
Sunil Kumar Works for Wipro Technologies, one of the leading software services company in the world. He is a Microsoft Certified Solution Developer(MCSD) in .NET