This is a quick guide to internal implementation of such C# types as Dictionary, Hashtable, List and others.
Equals & GetHashCode: Why is it important to override both?Equals & GetHashCode: Why is it important to override both?
It is important if your item will be used as a key in a dictionary, or HashSet, etc – since this is used to group items into buckets (in the
Executing SQL script with GO statement from C# codeExecuting SQL script with GO statement from C# code
In the middle of a project you might want to automate DB restoring and upgrading by means of existing SQL scripts which may contain GO-statements. If you are that person who is attempting to execute scripts
Calculation of PowerSet on C#Calculation of PowerSet on C#
This text explains a binary algorithm to calculate a power set of any sequence. It has a sample code in C#.
Post JSON objects with nested classes to MVC actionPost JSON objects with nested classes to MVC action
Default view model binding of ASP.NET MVC has a disadvantage when using view models with nested classes and JSON objects. The binding is unable to recognize such nested classes and it initializes
Speeding up calculation of an average in continuous processesSpeeding up calculation of an average in continuous processes
Processing big sets of data can cause a low performance due to inefficient calculations. In order to overcome this issue we should rewrite calculations in a way which allows getting
Compressing of data with GZipStreamCompressing of data with GZipStream
GZipStream is a great tool to compress/decompress byte arrays of serialized data. But it has an issue which can make you hanging for some time. Here I describe the issue with