Пример #1
0
        public static void Main()
        {
            var chatRoom = new ChatRoom("T1");

            var pesho = new SkypeClient("Pesho");
            var conka = new mRCaClient("Conka");

            pesho.JoinChatRoom(chatRoom);
            conka.JoinChatRoom(chatRoom);

            pesho.SendMessage(chatRoom, "Ko Staa Conke");
        }
Пример #2
0
        static void Main(string[] args)
        {
            var chatRoom = new TheChtaRoomItself("TelericAkademyChat");

            var gosho = new SkypeClient("gosho");
            var losho = new SkypeClient("losho");
            var tosho = new mIRcata("tosho");

            gosho.JoinChatRoom(chatRoom);
            losho.JoinChatRoom(chatRoom);
            tosho.JoinChatRoom(chatRoom);

            tosho.SentMessage(chatRoom, "haide an kuponnn");
            gosho.SentMessage(chatRoom, "zaeta sum duhai");
            losho.SentMessage(chatRoom, "haied v 33 da se nakovem");

            Console.WriteLine(tosho.Hystory);
        }