|
-
June 30th, 2002, 08:32 AM
#1
Question about IEnumerable and IEnumerator
Thing that i don't understand is ex HybridDictionary implements the IEnumerable interface that have metod "IEnumerator GetEnumerator()"
But if you look at the class it implements only "IDictionaryEnumerator GetEnumerator();".
how come that it has an other return value than the interface and how can you do this yourself?
I tried to do my own interface that did derive from IEnumerable and retrun it in a function in the class, but it does't work.
//B4N WarWulf
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|