using System.Collections.Generic;
public static void Main()
string address = "701 BURNHAMTHORPE RD, M9C2Z6";
var latLong = new Dictionary<string, decimal>();
const string url = "http://maps.googleapis.com/maps/api/geocode/json?sensor=true&address=";
using (var webClient = new WebClient()) {
var json = webClient.DownloadString(url + address);
GoogleGeoCodeResponse geo = JsonConvert.DeserializeObject<GoogleGeoCodeResponse>(json);
Console.WriteLine(geo.results[0].formatted_address);
public class GoogleGeoCodeResponse
public results[] results { get; set; }
public string status { get; set; }
public address_component[] address_components { get; set; }
public string formatted_address { get; set; }
public geometry geometry { get; set; }
public string partial_match { get; set; }
public string[] types { get; set; }
public bounds bounds { get; set; }
public location location { get; set; }
public string location_type { get; set; }
public viewport viewport { get; set; }
public northeast northeast { get; set; }
public southwest southwest { get; set; }
public northeast northeast { get; set; }
public southwest southwest { get; set; }
public class northeast : location
public class southwest : location
public decimal lat { get; set; }
public decimal lng { get; set; }
public class address_component
public string long_name { get; set; }
public string short_name { get; set; }
public string[] types { get; set; }