public void print(IBox box) { object o = box.get(); string typename = o != null ? o.GetType().FullName : typeof(void).FullName; Console.WriteLine(" => <{0}> {1}", typename, Literal.try_format(o)); }