LINQ: Any() vs Count
Эта статья началась с обсуждения на Stack Overflow: Why LINQ method Any does not check Count?. Здесь мы сравним производительность методов Any и Count != 0.
LINQ: Any vs Count
This post started from discussion on SO: Why LINQ method Any does not check Count? This article shows a comparison of performance methods Any and Count = 0.
Patterns: Specification
Specification pattern unites Domain-Driven Design, application architecture modeling and Entity Framework in C#. Specification pattern is designed to order business rules and connect our code to the business terms. This article shows an example of the implementation with Entity Framework.
Xml serializer - volatile api contract
Working with some API, you expect that this API will stay stable and return the same type of result from call to call. But sometimes it does not work this way. In the article I will tell about integration with SOAP-service and volatile contracts.
Sleep well. How to stop program execution.
How many ways to sleep a thread do you know?