Slightly incorrect comment text on Tour of F# · Issue #54571 · dotnet/docs · GitHub
Skip to content

Slightly incorrect comment text on Tour of F# #54571

Description

@ndchorley

Describe the issue or suggestion

In the last code example, ImplementingInterfaces on https://learn.microsoft.com/en-us/dotnet/fsharp/tour#object-programming, part of the comment text reads

/// Unlike other languages such as C# or Java, a new type definition is not needed
/// to implement an interface.

It isn't true of Java that one needs to have a new type definition - one can use an anonymous class to implement an interface.

(Apologies for using this template. The one in the '.NET feedback' section on the article page kept erasing my feedback.)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions