11 Replies Latest reply: May 21, 2010 5:59 AM by 843789 RSS

    how to create a collection which allows String and myobjects only using gen

    843789
      Hi,

      I want to restrict my collection to allow only string objects and myobject. how i can do this using generics?