DEV Community

Cover image for Little drops on C# Interview questions - Intermediate Language
Ynoa Pedro
Ynoa Pedro

Posted on • Edited on

3 2

Little drops on C# Interview questions - Intermediate Language

Little drops on C# Interview Questions series
The intention behind this series is to answer with a little bit of context or examples of some of the most common C# interview questions.

Today we briefly explain what is Intermediate Language

So .NET != C#? How it works then?

Precisely, I have seen many people getting this mistakenly, .NET is a platform for CLR languages to be compiled(Common runtime language), with this in mind to compile anything we have to think it into 3 steps:

Flow of C# Complilation

So IL is the half compiled code that is interpreted by JIT into machine code.

Why do I need to know it

If you are to specialize in something do it right and know how it works, not only for interviews, knowing one or two levels of abstractions besides your favourite language enables you to solve more complex issues in the future.

Ok, can I see the IL code?

For sure, the are many great tools to visualize and interact with IL, like:

  • ILSpy
  • LinqPad
  • dotnetfiddle
  • Feel more suggestions received by feedback
  • Also, IDEs usually have nice integrations, like Visual Studio or Jetbrains Rider my personal choice:

Example of Jetbrains IL Viewer in Jetbrains Rider IDE
Docs kindly suggested by Marcus Vinicius

To go deeper

This is of course just a brief introduction on the topic, for further reading I recommend:

Heroku

This site is built on Heroku

Join the ranks of developers at Salesforce, Airbase, DEV, and more who deploy their mission critical applications on Heroku. Sign up today and launch your first app!

Get Started

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay