Assigning variables to a list of objects - C#