using System;
using System.Collections.Generic;
using System.Text;

namespace LocationsClient
{
	class Program
	{
		static void Main(string[] args)
		{
			LocationsClient.WebReference.Locations L =
				new LocationsClient.WebReference.Locations();
			L.UseDefaultCredentials = true;
			LocationsClient.WebReference.LocationsLocation[] ls =
				L.GetLocations();
			foreach (LocationsClient.WebReference.LocationsLocation loc
				in ls)
			{
				Console.WriteLine(loc.ID + " " + loc.Name);
			}
		}
	}
}
