{"Object reference not set to an instance of an object."}

Topics: Help
Jun 6, 2013 at 2:45 AM
what am i doing wrong?


List<PointLatLng> pppoints= null;

GMap.NET.PointLatLng asdf = new GMap.NET.PointLatLng(0.0,0.0);

pppoints.Add(asdf);
Jun 6, 2013 at 2:51 AM
oops, I answered my own question:
http://www.dotnetperls.com/list


List<PointLatLng> pppoints = new List<PointLatLng>();


(I am such a hack).
thanks guys.
cellurl
Jul 21, 2014 at 5:37 AM
check this list example...C# List

vyar