PC Review


Reply
Thread Tools Rate Thread

CollectionBase

 
 
barry
Guest
Posts: n/a
 
      13th Mar 2005
My question is why is it that when using the inherits
System.Collections.CollectionBase in a class you defined, you can use the
members from the Ilist, Ienumerable and Icollection that you want but if you
defined a class using the interface Icollection, for example, you would have
to define all members whether you wished to use them or not?


thanks



 
Reply With Quote
 
 
 
 
Cor Ligthert
Guest
Posts: n/a
 
      13th Mar 2005
Barry,

Because by inheriting from that collectionbase you have done that already,
in those are those members already written, therefore it inherits
ICollection, etc..

I hope this helps

Cor


 
Reply With Quote
 
barry
Guest
Posts: n/a
 
      13th Mar 2005
I thought so but you have confirmed it
thanks
"Cor Ligthert" <(E-Mail Removed)> wrote in message
news:OUB$(E-Mail Removed)...
> Barry,
>
> Because by inheriting from that collectionbase you have done that already,
> in those are those members already written, therefore it inherits
> ICollection, etc..
>
> I hope this helps
>
> Cor
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
XML and collectionbase Mark Winters Microsoft C# .NET 3 17th Jun 2011 08:33 AM
CollectionBase Tony Microsoft C# .NET 4 10th Jun 2008 05:20 PM
Using CollectionBase Juan Martinez Microsoft C# .NET 2 27th Apr 2006 05:20 PM
CollectionBase - why use it? dotnw@hotmail.com Microsoft VB .NET 4 2nd Jun 2005 09:59 PM
Help with CollectionBase =?Utf-8?B?U29sbGkgTW9yZWlyYSBIb25vcmlv?= Microsoft C# .NET 0 16th May 2005 05:51 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:51 PM.