I want to add new object to a list: My code:
List abc = new List(); abc.Add(new geo_tag() { latitude = 111, longitude = 122, un
Try This
List abc = new List(); geo_tag Model= new geo_tag(); Model.latitude =111; Model.longitude =122; Model.unit ="SSS"; abc.Add(Model);