예제 #1
0
        private static void FindCapital()
        {
            Console.WriteLine("input State Name");
            string request = Console.ReadLine();

            Console.WriteLine(WikiParser.FindCaptial(request));
        }
예제 #2
0
 private static void Test()
 {
     foreach (string state in States)
     {
         Console.WriteLine("testing: " + state);
         Console.WriteLine(WikiParser.FindCaptial(state));
         Console.WriteLine("---------------------------");
     }
     Console.WriteLine("Test Complete");
 }