Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • My first guess was an explicit user-defined conversion but actually according to (6.4.1) you cannot define an explicit user-defined cast to an interface. Commented Mar 6, 2009 at 17:56
  • I've found the equivalent section in the latest version, but it looks like it's somewhat different. Commented Mar 6, 2009 at 18:22
  • Do you mean why the explicit cast to an interface, or do you mean "why bother casting down to the interface at all?" Commented Mar 6, 2009 at 18:35
  • 1
    I mean why the explicit cast and is it necessary/helpful/redundant? Commented Mar 6, 2009 at 18:38