32 lines
725 B
C#
32 lines
725 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Kindlebox
|
|
{
|
|
internal class BreedingList
|
|
{
|
|
public static List<Breeding> breedings;
|
|
|
|
static BreedingList()
|
|
{
|
|
breedings = new List<Breeding>();
|
|
}
|
|
|
|
public static void Record(Guid BreedingID, Guid SireID, Guid DamID, DateTime BreedingDate)
|
|
{
|
|
breedings.Add(new Breeding(BreedingID, SireID, DamID, BreedingDate));
|
|
}
|
|
|
|
public static void Display()
|
|
{
|
|
foreach (var breeding in breedings)
|
|
{
|
|
Console.WriteLine(breeding.ToString());
|
|
}
|
|
}
|
|
}
|
|
}
|