LINQ posts

Read about our day to day discoveries, the trips we take around the world, our personal developments and news about the things we do at Manas.

  • Update: The code has moved to NetFx project at http://code.google.com/p/netfx/source/browse/trunk/Source/Guard.cs . In the task of validating function arguments, usually a sealed class Guard is created. For example...

  • In these days of agile and TDD, most probably you had to deal with mocks. In such case, you have two options: create hundreds of mock classes by hand, one for each expected behavior for every unit test, or use a mock framework. ...

  • Maybe this example is not impressive as an entire ray tracer in a single line, but it gives an idea of the expressiveness of LINQ. I remember from my high school times, the internal spontaneous competitions looking...