|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
namespace FoodTypeSectionList
{
public class MeatType
{
private String _name, _description;
private double _price;
public MeatType() { _name = _description = String.Empty; _price = 0.0; }
public MeatType(String name, String description, double price) { _name = name; _description = description; _price = price; }
public String Name { get { return _name; } set { _name = value; } }
public String Description { get { return _description; } set { _description = value; } }
public double PricePerPound { get { return _price; } set { _price = value; } }
}
public class VegetableType
{
private String _name, _description;
private double _price;
public VegetableType() { _name = _description = String.Empty; _price = 0.0; }
public VegetableType(String name, String description, double price) { _name = name; _description = description; _price = price; }
public String Name { get { return _name; } set { _name = value; } }
public String Description { get { return _description; } set { _description = value; } }
public double PricePerPound { get { return _price; } set { _price = value; } }
}
public class FruitType
{
private String _name, _description;
private double _price;
public FruitType() { _name = _description = String.Empty; _price = 0.0; }
public FruitType(String name, String description, double price) { _name = name; _description = description; _price = price; }
public String Name { get { return _name; } set { _name = value; } }
public String Description { get { return _description; } set { _description = value; } }
public double PricePerPound { get { return _price; } set { _price = value; } }
}
}
|
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.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.