Generating HTML string in C#

The proper way to generate html string in C#
From time to time you get to the point where you have to generate some HTML in C# code. Of course, the easier way is to concatenate string and return that as a result of a method. This is not the most elegant solution and it is only fine for some short string. ... read more

Enumerable Tips & Tricks with String and Int

Useful things to do with Enumerable in a single line
System.Linq.Enumerable is a core of LINQ magic. Most of the functions we use in a daily basis for anything we write with sequence, but what is really interesting is that methods from this class can be used for some tricky operations on strings and numbers and make them one line instead of loops. ... read more


read more


read more