ilya wrote:
I was just wondering. I am still going to convert my collection using this new Collection<T>.
That's not so, since Collection<T> already uses T as the type, not Object, so there's no casting needed. In fact, you won't need to define an indexer of your own at all like you did above, since Collection<T> already has an indexer that returns T.
Unless I misunderstand what you're trying to do, there should be no problem.