Skip to content

Unclear details on interfaces #26396

@Damien-The-Unbeliever

Description

@Damien-The-Unbeliever

There is a section in this document on reference types that states:

"An interface must be initialized together with a class object that implements it. If MyClass implements IMyInterface, you create an instance of IMyInterface".

My own suspicion is that this is trying to say that you cannot create an interface object itself, or something along those lines, but as it currently stands it makes it sound like there is an instance of "the interface" as well as an instance of the class, and that's not really true, to the best of my understanding.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions