This will give you an unchecked warning and there's no way to avoid it if you're going to mix generic and non-generic code. if you're so sure that you're getting back a . In any case, the code you wrote will give a compile time error and not an unchecked warning. [ October 06, 2007: Message edited by: Akshay Kiran ]
"It's not enough that we do our best; sometimes we have to do<br />what's required."<br /> <br />-- Sir Winston Churchill