public static void Main()
var Fred = new Fancy_ShopKeep("Fred the Fifth of house Farnier");
var James = new ShopKeep("James the Giant of house Jessup");
Console.WriteLine(James.Name);
Console.WriteLine(James.Gold);
Console.WriteLine(Fred.Name);
Console.WriteLine(Fred.Gold);
public Character(string name)
public string Name {get; set;}
public int Health { get; set;}
public int Gold { get; set;}
public class ShopKeep : Character
public ShopKeep(string name) : base(name) {}
Console.WriteLine("How can I help you?");
Console.WriteLine("You suck!");
public int gold {get; set;}
public class Fancy_ShopKeep : ShopKeep
public Fancy_ShopKeep(string name) : base(name)
Console.WriteLine("Ye Sucketh!");