1 using namespace System;
 
   10             double lat = 33.3, 
lon = 44.4; 
 
   17             Console::WriteLine(mgrs);
 
   21             String^ mgrs = 
"38SMB4488";
 
   25             MGRS::Reverse(mgrs, zone, northp, 
x, 
y, prec, 
true);
 
   27             UTMUPS::Reverse(zone, northp, 
x, 
y, 
lat, 
lon, 
true);
 
   28             Console::WriteLine(String::Format(
"Latitude: {0} Longitude: {1}", 
lat, 
lon));
 
   32         Console::WriteLine(String::Format(
"Caught exception: {0}", 
e->Message));