C# Behind the scenes

I see a lot of beginners programmers, but certainly not just beginners, who are not sure how things work in C#.

I’m not talking about the CLR but about the language itself. And mostly specific on all sorts of keywords which are compiler sugar.

There are simple things that probably everyone understands what it means, such as this or const. But what about yield or async and what happens when we use lambda expression or write Linq in the form of query comprehension?

So I decided to do a series of articles (hopefully series …) about all kinds of words like this and what happens behind the scenes when you write a particular word in c #.

I do not like long articles unnecessarily, so I’ll try to keep the pattern short and permanent. An example of code in c #, an example of the code that was actually generated from it, and a brief explanation of what happens there.

Hope it will be useful.

  1. Yield
  2. Local Functions
This entry was posted in .NET, c# and tagged , , . Bookmark the permalink.

2 Responses to C# Behind the scenes

  1. Pingback: C# Behind the scenes – `yield` | My Coding Place

  2. Pingback: C# Behind the scenes – Local Functions | My Coding Place

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.