Numbers are all the way and around us. Here we will also talk about numbers. Moreover, in this post we will try to gather valuable constants for our knowledge. The main idea is to make a kind of handbook of interesting and useful numbers for .NET developers.
Ability to write good unit tests is an important feature of any developer. But how to understand that your unit tests are correct? Good unit test is like a good chess game. In our case chessmen are the approaches which we are going to discuss in this post. There is no best chessman in a chess game because everything depends on the positions (and a player). Likewise, in unit testing you don’t have to distinguish only one approach. In other words, you should use all approaches together to get the best result. So, if you want to win this game, then welcome under the cut.
In the previous article we tried to understand how linq extension methods work on the example of linq Select method by revealing all its magic and writing our custom
AwesomeSelect method. Today we will understand how linq functions work along with others and talk about the difference between deferred and immediate execution in linq to objects.
The best way to understand how “LinQ to objects” (in future just linq) works is to create a method by yourself. We will write the
AwesomeSelect method which has the same functionality as real linq Select method. If you are interested in then welcome under the cut.