Skip to content

The out, ref, and in keywords – misworded statement #27203

@deep-outcome

Description

@deep-outcome

Add the in modifier to pass an argument by reference and declare your design intent to pass arguments by reference to avoid unnecessary copying. You don't intend to modify the object used as that argument.

I guess this statement was not about to repeat double to pass (an) argument by reference and then directly address reader.

It should be something like

Add the in modifier to pass an argument by reference and declare your design intent to preserve referenced object state.


Document Details

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


Associated WorkItem - 54745

Metadata

Metadata

Assignees

Labels

📌 seQUESTeredIdentifies that an issue has been imported into Quest.advanced-concepts/subsvcdotnet-csharp/svcokr-qualityContent-quality KR: Concerns article defects (bugs), freshness, or build warnings.

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions