Skip to content

UUF: Code example is for a different delegate #10567

Open
@gewarren

Description

@gewarren

Type of issue

Other (describe below)

Description

The code example is wrong. It is about EventHandler. The correct code example is the first example on this page: https://learn.microsoft.com/en-us/dotnet/standard/events/how-to-raise-and-consume-events.

Page URL

https://learn.microsoft.com/en-us/dotnet/api/system.eventhandler?view=net-8.0

Content source URL

https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System/EventHandler.xml

Document Version Independent Id

45d1db6b-180e-bc7c-7cd5-2ca83367b161

Article author

@dotnet-bot @gewarren

Metadata

Metadata

Assignees

No one assigned

    Labels

    Pri3Indicates issues/PRs that are low priorityarea-System.RuntimeuntriagedNew issue has not been triaged by the area owner

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions