I want to add new object to a list: My code:
List<geo_tag> abc = new List<geo_tag>();
abc.Add(new geo_tag() { latitude = 111, longitude = 122, unit = "SSS" });
When run, it gets error:
Compiler Error Message: CS1026: ) expected at line 2.
Using .Net 2.0
geo_tag
separately and then add it the list.