using System; using System.Collections.Generic; using System.Text; namespace SoloMobile.SiteLibrary { [Serializable] public class Plan { private string _name; private decimal _price; private string _des; /// /// Initializes a new instance of the class. /// /// The name. /// The price. /// The DES. public Plan(string name, decimal price, string des) { _name = name; _price = price; _des = des; } /// /// Gets the name. /// /// The name. public string Name { get { return _name + " " + _price.ToString(); } } /// /// Gets the price. /// /// The price. public decimal Price { get { return _price; } } /// /// Gets the description. /// /// The description. public string Description { get { return _des; } } } }