query: Why Enumerator needs to implement IDisposable?
positive_passages.docid: 24214
positive_passages.text: Why does IEnumerator inherit from IDisposable while the non-generic IEnumerator does not?
negative_passages.docid: 10316
negative_passages.text: IEnumerable.Cast won't work even if an explicit cast operator is defined?
negative_passages.docid: 88232
negative_passages.text: Should I always return IEnumerable instead of IList?
negative_passages.docid: 51132
negative_passages.text: Why can a enum have a package-private constructor?
negative_passages.docid: 121799
negative_passages.text: Why do I have to cast enums to int in C#?
negative_passages.docid: 115125
negative_passages.text: Why is __strong required in fast enumeration loops with ARC
negative_passages.docid: 141587
negative_passages.text: Is there any reason to declare optional parameters in an interface?
negative_passages.docid: 8709
negative_passages.text: Collection was modified; enumeration operation may not execute
negative_passages.docid: 126102
negative_passages.text: Declare IDisposable for the class or interface?
negative_passages.docid: 123004
negative_passages.text: What's the advantage of a Java enum versus a class with public static final fields?
negative_passages.docid: 128447
negative_passages.text: When declaring an enum, should you force the type to byte for under 256 entities?
negative_passages.docid: 11956
negative_passages.text: Java generics type erasure: when and what happens?
negative_passages.docid: 13989
negative_passages.text: What is the difference between IEnumerator and IEnumerable?
negative_passages.docid: 11186
negative_passages.text: Why enums require an explicit cast to int type?
negative_passages.docid: 66717
negative_passages.text: Why can't C# member names be the same as the enclosing type name?
negative_passages.docid: 54523
negative_passages.text: Why doesn't Java allow generic subclasses of Throwable?
negative_passages.docid: 14346
negative_passages.text: How can I cast int to enum?