static void Main(string[] args) { User u = new User(); UserMgr u1 = new UserMgr(); u1.CreateUser(u); u1.ShowUser(u); Console.ReadKey(); }