G
Guest
Hello,
I've tried to write an method overriding
System.Collections.DictionaryBase.GetEnumerator(), but my C# compiler (VS
..NET 2003) outputed 'error CS0506'. This means
System.Collections.DictionaryBase.GetEnumerator() is not virtual one, but in
the .NET class library reference, it is described as 'public virtual
IDictionaryEnumerator GetEnumerator();'. Also, the object browser in VS.NET
2003 says DictionaryBase.GetEnumrator() is 'public virtual new
System.Collections.IDictionaryEnumerator GetEnumerator ( )'.
Is this a bug of the compiler or the document? Or Is there something wrong
in my understandings?
I've tried to write an method overriding
System.Collections.DictionaryBase.GetEnumerator(), but my C# compiler (VS
..NET 2003) outputed 'error CS0506'. This means
System.Collections.DictionaryBase.GetEnumerator() is not virtual one, but in
the .NET class library reference, it is described as 'public virtual
IDictionaryEnumerator GetEnumerator();'. Also, the object browser in VS.NET
2003 says DictionaryBase.GetEnumrator() is 'public virtual new
System.Collections.IDictionaryEnumerator GetEnumerator ( )'.
Is this a bug of the compiler or the document? Or Is there something wrong
in my understandings?