dlevchenko.com - Dmitrii Levchenko

Description: Hi, I’m a professional C# developer. I love writing rock solid efficient systems.

Example domain paragraphs

Hi, I’m a professional C# developer. I love writing rock solid efficient systems.

Dec 2, 2015

Today I was fixing mystical NullReferenceException. Based on stack trace, during list sorting using standard .Sort() method with custom comparer, .Net framework passed null object to the comparer class. Initially I thought list has null element, thus causing NullReferenceException, however it turned out to be a little bit trickier.