---
title: "Discussion on \"How typeof decompiles in C#\" | Hashnode"
description: "Discussion on \"How typeof decompiles in C#\". Ask a .NET engineer what IL typeof(string) produces and many will guess there is a typeof opcode. There is not. typeof is one of a handful of C# operators that compile to a fixed pair of instructions,"
url: "https://hashnode.com/posts/how-typeof-decompiles-in-c/6b07073065a02f0d30fd284a"
---

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

Discussion

# [How typeof decompiles in C#](https://delta1labs.hashnode.dev/how-typeof-decompiles-in-c?utm_source=hashnode&utm_medium=feed)

Ask a .NET engineer what IL typeof(string) produces and many will guess there is a typeof opcode. There is not. typeof is one of a handful of C# operators that compile to a fixed pair of instructions,

Nov 25 · 7 min read · delta1labs.hashnode.dev  
Updated 5h ago  
Read the article

-   [#glass](https://hashnode.com/tag/glass)
-   [#decompilation](https://hashnode.com/tag/decompilation)
-   [#il](https://hashnode.com/tag/il)
-   [#metadata](https://hashnode.com/tag/metadata)

## Written by

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

@clustron

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
