List Cat cats new List Cat new Cat Name Sylvester Age new Cat Name Whi

1
2
3
4
5
6
List<Cat> cats = new List<Cat>
{
new Cat() { Name="Sylvester", Age=8 },
new Cat() { Name="Whiskers", Age=2 },
new Cat() { Name="Sasha", Age=14 }
};