The unconquerable

Hercules was a strong man; a tall muscular perfect masculine figure. He moved boulders with his bare hands. He stopped elephants and swung them by their tusks. No doubt, he prevented battles by his …

Read more →

JAR Tips: Loading dependencies

If you are writing a typical console based application in Windows, you would end up with an executable (exe). You might also have one or more dependent libraries (DLL). The question is where do we …

Read more →

An Unfair World of Tuples, Anons., var and auto

anonymous-classanonymous-typesautoC#Javatuplesvar

It all began when I wanted to return more than one value from one of the methods. Although my attempts ended futile, it was fun exploring and musing how things could have been. There are at least a …

Read more →

A funny moment of IoC

carpoolinversion-of-controlioc

IoC - Inversion of control, is a design that enables fluid flow of control by decoupling tight dependencies between the portion of a code that exhibits behavior and another portion of code that …

Read more →

Mutating Strings

.NETfixedimmutablestringsunsafe

Today, we question our beliefs! Is string really immutable? string message = "Hello World!"; Console.WriteLine(message); // Prints "Hello World!" unsafe { int length = message.Length; …

Read more →