예제 #1
0
 public void Init(string name)
 {
     try
     {
         _name = name;
         Console.Title = (_name ?? "User") + " Chat Window";
         _server.Init(_name);
     }
     catch (Exception e)
     {
         Console.WriteLine(e);
     }
 }