Paul Clapham wrote:Okay, then why don't you convert it to an integer when you add it to the list?
Thanks Paul , this could be possible solution. Actually that is is like List<String>, so have to remove this type safety and allow list to contain different type of objects .... Is that what you are trying to say ?