Skip to content

Incorrect operator naming in primary constructors documentation #47713

@Tawnos

Description

@Tawnos

Type of issue

Other (describe below)

Description

The greater than or equal to (=>) operator designates an expression-bodied get accessor, whereas the equal to (=) operator designates an initializer.

That is the lambda operator, not the greater than or equal to operator.

Page URL

https://learn.microsoft.com/en-us/dotnet/csharp/whats-new/tutorials/primary-constructors

Content source URL

https://github.com/dotnet/docs/blob/main/docs/csharp/whats-new/tutorials/primary-constructors.md

Document Version Independent Id

a22d366b-380f-f701-6a01-2515433e1550

Platform Id

2b1cd19e-0bb7-ed09-1f82-1fc191677c2d

Article author

@BillWagner

Metadata

  • ID: 3f1194e6-3116-6e70-9a36-f0a509c04f63
  • PlatformId: 2b1cd19e-0bb7-ed09-1f82-1fc191677c2d
  • Service: dotnet-csharp
  • Sub-service: whats-new

Related Issues


Associated WorkItem - 478690

Metadata

Metadata

Assignees

Type

No type

Projects

Status

👀 In review

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions