I have an automatic property
public int GearCount { get; set; }
when i try to initialize it like this-
Tandem t = new Tandem(GearCount = 5);
It gives an error as below
The name 'GearCount' does not exist in the current context
Whats wrong here ? Also if i do normal intantiation it works fine. Tandem t = new Tandem();