public static void Main() { int distance = 150; String[] names = { "Blackie", "Sparrow", "Raven", "Quark", "Pixie", "Tipsy", "Ladybug", "Fat Tom", "Tex", "Light" }; HorseRace race = new HorseRace(distance, names); }
public Horse(String Name, HorseRace race) { this.Name = Name; this.race = race; lock (rand){ v = rand.NextDouble() * .9 + .1; } }