Adding an object to a list with a method - C#