Extension Methods – A Polished C++ Feature

C#extension methodsinterface principlekoenig lookup

Extension Methods is an excellent feature in C# 3.0. It is a mechanism by which new methods can be exposed from an existing type (interface or class) without directly adding the method to the type. …

Read more →

The Surprising Finalize Call

Guess the output of the following program:- class SomeClass : IDisposable { public SomeClass() { Trace.WriteLine("SomeClass - Attempting instance creation"); throw new Exception("Ohh !!! …

Read more →

Learning Type Access Modifiers Basics

When I started developing my module, I had an interface IParamCountBasedAlgo declared as a nested type in a class AlgorithmOneExecutor, declared as follows:- namespace DataStructuresAndAlgo { partial …

Read more →

First Google Gadget(s)

I did some cool stuff here with google. I wrote my first “Hello World” sort of google gadget. It claims no rewards but just was fun. Since I am a novice in html and javascript sort of things, this …

Read more →