71

Just wanned to kill myself because my colleague wrote this misleading nonsense, i was totally confused and got lost inside code and then i found this source of evil.

City Country = new City();

Comments
  • 10
    City country = new City ()
    {
    country.Name = "New York";
    country.State = "New York";
    }

    ICountry city = new City();
    city.Add("Australia");

    country.Cities.Add(city);
  • 0
    This is so wrong!!!!!@yo-yo
Add Comment