c# Archive

“new” keyword can be used as operator, modifier or constraint. Using “new” keyword as operator. New keyword is most commonly used for creating instance of a class/ types. E.g. var cc = new Class1(); int i = new int();...
In my application I wanted to find Latitude & Longitude of address of a person. To do this I have used google api. Bellow is c# code: public static List<string> GetLatLng(string address) { var requestUri = string.Format("http://maps.googleapis.com/maps/api/geocode/xml?address={0}&sensor=true", Uri.EscapeDataString(address)); var...