<barberomarcelo at gmail.com> wrote in message news:1152505455.432235.275880 at h48g2000cwc.googlegroups.com... > How can I add a method to the int class? You can't. The closest is to subclass int and add your method.