Type Safe Logger
Article co-authored with Sanjeev, and published on CodeProject PROBLEM Every application logs a whole bunch of diagnostic messages, primarily for (production) debugging, to the console or the standard …
Read more →Blog posts on tech, engineering, and more.
Article co-authored with Sanjeev, and published on CodeProject PROBLEM Every application logs a whole bunch of diagnostic messages, primarily for (production) debugging, to the console or the standard …
Read more →This is a simple array like class for C++, which can be used as a safe wrapper for accessing a block of memory pointed by a bare pointer.
Read more →This is about a killer bug identified by our chief software engineer in our application. What was devised for ease of use and write smart code ended up in this killer defect due to improper …
Read more →I would not want to write chunks of code to spawns threads and perform many of my background tasks such as firing events, UI update etc. Instead I would use the System.Threading.ThreadPool class which …
Read more →Remember the Casting Restrictions we discussed a while back, let us settle that now. So we have some code like this: object obj = i; long l = (long)obj; And an invalid cast exception while casting …
Read more →