static void Main(string[] args) { Poster poster = new Poster("Eva", 500); Guest guest = new Guest("Anna", 430); Moderator moderator = new Moderator("moderator123"); poster.PostComment("comment 01"); poster.PostComment("comment 02"); poster.PostComment("comment 03"); poster.PostComment("comment 04"); poster.PrintUser(); poster.CheckStats(); Console.WriteLine("------------------------------------------------------------"); guest.PrintUser(); guest.ReadComment("some comment..."); Console.WriteLine("------------------------------------------------------------"); moderator.PrintUser(); moderator.BanUser(poster, "offensive comments"); Console.ReadLine(); }
static void Main(string[] args) { Poster bob = new Poster("BobBobski"); Moderator jill = new Moderator("JillJill"); Guest someGuest = new Guest(); bob.PostComment("comment 1"); bob.PostComment("comment 2"); bob.CheckStats(); jill.BanUser(bob, "bad bob"); someGuest.ReadComment("comment some comment"); }