using System.Collections.Generic;
using static System.Console;
public static void Main(string[] args)
var speakers = new List<Speaker>
Topic = "What's new in C# 6"
Topic = "Microsoft Azure Platform"
foreach(var spearker in speakers)
WriteLine(spearker.ToString());
public string FirstName { get; set; }
public string LastName { get; set; }
public double Age { get; set; }
public string Topic { get; set; }
public string EventName { get; set; }
EventName = "Microsoft Imagine | DIU";
public override string ToString()
return $"Name : {FirstName} {LastName}, Event: {EventName}";