コード例 #1
0
 static void Main(string[] args)
 {
     using (MyGameClient gc = new MyGameClient())
     {
         Console.WriteLine("Ask a question");
         string answer = gc.GetAnswer(Console.ReadLine());
         Console.WriteLine(answer);
     }
 }
コード例 #2
0
 static void Main(string[] args)
 {
     // MEX - metadata exchange - point
     using (MyGameClient client = new MyGameClient())
     {
         Console.WriteLine("Put your question");
         string answer = client.GetAnswer(Console.ReadLine());
         Console.WriteLine(answer);
     }
 }