Re: List's Add and Remove are not virtual. What now?

Curt Hagenlocher <[email protected]> Wed, 30 Jan 2008 14:14:25 -0800
Newsgroups gmane.comp.windows.devel.dotnet.clr
Message-ID <[email protected]>
On Jan 30, 2008 2:07 PM, Brady Kelly <[email protected]> wrote:
> I would have like to override these methods in my class derived of List<T>.
> Is there some base list somewhere I could use to the same effect, and why
> shouldn't these be overridden?

Why not contain List<T> instead of deriving from it?

--
Curt Hagenlocher
[email protected]

===================================
This list is hosted by DevelopMentor®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com