I have been trying to create an array of multiple geofences.
example : geoFence001,geoFence002,geoFence001...........
i have tried doing it in the following ways:
Declare at the top
GeoFence[] myGeoFenceArray;
... then in my loop
geoFenceCounter++;
myGeoFenceArray[geoFenceCounter] = new GeoFence(geoFenceCounter.ToString(),Color.Blue);
Since that Didn't work i also tried the following :
Declare at the top
List<GeoFence> myGeoFenceList;
... then in my loop
geoFenceCounter++;
myGeoFenceList.Add .....................
with both of these i get a nullException error.
any assistance would be greatly appreciated as if have been stuck on this for a few days now;