static void Main(string[] args) { Events(); Console.ReadLine(); Person p = new Person("Zach","johnson", "h"); string v = p.FirstName; }
public void Play() { var gl = new GenericLife<Person>(); var p = new Person("Zachary", "Johnson", "Hiles"); gl.Add(p); gl.Add(new Person("bill", "dlafsj", "aksdfj")); gl.Add(new Person("bob", "joe", "joe")); Console.WriteLine(gl.ToString()); gl.Remove(p); }
public void DispalyName() { var p = new Person("Zachary", "Johnson", "Hiles"); Console.WriteLine(p); }