dotPeek
 
Get dotPeek

View high-level and low-level C# code

Last modified: 23 September 2024

The more features for simplifying source code appear in new C# versions, the more compiler-generated code is produced under the hood. dotPeek allows you to study the differences having both the original version in the code viewer and C# with different levels of syntax sugar in the IL Viewer window simultaneously with proper synchronization.

In the example below, you can see code generated by the compiler for a simple record as well as the synchronized highlighting of primary constructor:

dotPeek: Comparing original and low-level C# code

Here are some differences and use cases for the Low-Level C# and High-Level C# presets.