In the code block below I would expect dictCars to contain: { Chevy:Camaro, Dodge:Charger }
But, dictCars comes back empty. Because this line returns false each time it
Your car class needs to implement interface IEquatable and define an Equals method, otherwise the contains method is comparing the underlying references.