---
title: "Discussion on \"How a decimal constant decompiles in .NET\" | Hashnode"
description: "Discussion on \"How a decimal constant decompiles in .NET\". Take the most ordinary line of C# imaginable:\npublic const decimal TaxRate = 0.075m;\n\nCompile it, open the assembly, and look for where 0.075 is stored. It is not in the IL — there is no ldc instructi"
url: "https://hashnode.com/posts/how-a-decimal-constant-decompiles-in-net/6af32755f41938b63788a546"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How a decimal constant decompiles in .NET](https://delta1labs.hashnode.dev/how-a-decimal-constant-decompiles-in-net?utm_source=hashnode&utm_medium=feed)

Take the most ordinary line of C# imaginable: public const decimal TaxRate = 0.075m; Compile it, open the assembly, and look for where 0.075 is stored. It is not in the IL — there is no ldc instructi

Nov 10 · 8 min read · delta1labs.hashnode.dev  
Updated 3h ago  
Read the article

-   [#glassnet](https://hashnode.com/tag/glassnet)
-   [#decompilation](https://hashnode.com/tag/decompilation)
-   [#dotnet](https://hashnode.com/tag/dotnet)
-   [#deepdive](https://hashnode.com/tag/deepdive)

## Written by

[Zero Heartbeat](https://hashnode.com/@clustron)

@clustron

  
[View profile](https://hashnode.com/@clustron)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
