M
mark_vogt
Greetings all,
As I dig into my new copy of Visual Studio 2005 Pro and VB.NET, I've
watched a number of online videos, and read a number of postings right
here in this news group that make the statement
1. "IList and IDictionary IMPLEMENT ICollection"
Being a relative novice to full-fledged OOP, I struggle with this
statement, as my understanding of an Interface is:
2. "a contract that defines property and method signatures for a
class, but WITHOUT implementing these properties and methods".
How do I reconcile these 2 statements?
In VB.NET I can indeed say "IList and IDictionary DERIVE from
ICollection - via Interface inheritance that I understand is possible
now. But I just don't see how one Interface is supposed to IMPLEMENT
another interface when the very meaning of "Interface" is (more or
less) "specification WITHOUT implementation".
It's my current (limited) understanding that class and/or structures
can implement Interfaces, but Interfaces themselves canNOT implement
other Interfaces.
Is this just sloppy choice of words by some well-known trainers and/or
posters, or is there something I'm still not getting about OOP in
VB.NET?
TIA,
- MV
As I dig into my new copy of Visual Studio 2005 Pro and VB.NET, I've
watched a number of online videos, and read a number of postings right
here in this news group that make the statement
1. "IList and IDictionary IMPLEMENT ICollection"
Being a relative novice to full-fledged OOP, I struggle with this
statement, as my understanding of an Interface is:
2. "a contract that defines property and method signatures for a
class, but WITHOUT implementing these properties and methods".
How do I reconcile these 2 statements?
In VB.NET I can indeed say "IList and IDictionary DERIVE from
ICollection - via Interface inheritance that I understand is possible
now. But I just don't see how one Interface is supposed to IMPLEMENT
another interface when the very meaning of "Interface" is (more or
less) "specification WITHOUT implementation".
It's my current (limited) understanding that class and/or structures
can implement Interfaces, but Interfaces themselves canNOT implement
other Interfaces.
Is this just sloppy choice of words by some well-known trainers and/or
posters, or is there something I'm still not getting about OOP in
VB.NET?
TIA,
- MV