binary-code

Binary serialization in C#

Serializing an object into a binary file is an easy and fast way to persist your objects. If binary serialization is used to cache objects normally read from an XML file, a database or some other file format, you’ll get …

red-question-mark

Overload the array square bracket operator in C#

Although operator overloading is possible in C# (just like in C++), overloading the array square bracket operator is by definition not possible.  However, C# provides an alternative called Indexers (C# Programming Guide). This is directly from the Microsoft C# Reference for …

puzzle_pieces

Top 10 differences between Java and C#

My latest transition from Java to C# left me scratching my head and scrambling to find the differences. Don’t get me wrong — they are very similar. But some key syntax and philosophical differences set these two languages apart.  Below …