Exemplo n.º 1
0
        public override string ToString()
        {
            string info = Enterprice.GetInfo(UserName);

            if (info == null || info.Count() == 0)
            {
                return("Инофрмации о вас не обнаружено.");
            }
            return(Status + " " + info);
        }
Exemplo n.º 2
0
 public void GetFullInfo()
 {
     Console.WriteLine(factory.GetInfo(Console.ReadLine()));
 }