-
Notifications
You must be signed in to change notification settings - Fork 6k
Closed
Description
I don't understand how the example shows the use or meaning of volatile. If I run it with or without volatile I'm getting the exact same results.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: d226514d-c7cb-0d1b-b9dc-fb791399dc47
- Version Independent ID: aa5d1078-7f89-98ce-7fdc-107c9ed3eebc
- Content: volatile (C# Reference)
- Content Source: docs/csharp/language-reference/keywords/volatile.md
- Product: dotnet-csharp
- GitHub Login: @BillWagner
- Microsoft Alias: wiwagn
BorysFursov, maximdx and alexb5dh