public static void Write(object o, int depth) { ObjectDumper dumper = new ObjectDumper(depth); dumper.WriteObject(null, o); }