docs
docs copied to clipboard
Add explanation of decimal literals and decimal pseudo-constants
Type of issue
Outdated article
Description
This article should include coverage of decimal literals (such as 12.34m). It should add that in C#, you can declare const decimal values. However, those are represented in IL as static readonly variables with the DecimalConstant attribute applied to them.
Page URL
https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/builtin-types/value-types
Content source URL
https://github.com/dotnet/docs/blob/main/docs/csharp/language-reference/builtin-types/value-types.md
Document Version Independent Id
e2c7e9c5-ebd3-ed68-d2cc-6d8929c654e8
Article author
@BillWagner
Metadata
- ID: 0948cf18-9971-b2d4-4f59-e045838e6e5f
- Service: dotnet-csharp
- Sub-service: lang-reference