Skip to content

[UUF] Exchange<T>(T, T) also works for Boolean values #10994

Open
@gewarren

Description

@gewarren

Type of issue

Outdated article

Description

In .NET 9, Exchange works for bool as well, i.e. not just reference types.

Page URL

https://learn.microsoft.com/en-us/dotnet/api/system.threading.interlocked.exchange?view=net-9.0

Content source URL

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

Document Version Independent Id

63d81ab1-09b0-b8e6-adaa-eaf6b300f4ef

Article author

@dotnet-bot

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions