public static void main() { // change this var me = new Space_Book_Community("tommas"); me.Add("Hello world"); me.Add("Today I worked 18 hours"); var tom = new Portal(new MyOpenBook("Tom")); tom.Poke("tommas"); tom.SuperPoke("tommas", "hugged"); tom.Add("tommas", "Poor you"); tom.Add("Off to see the Lion King tonight"); Console.ReadKey(); }
public MyOpenBook(string n) { name = n; users++; mySpaceBook = new Space_Book_Community(name + "-" + users); }