In an ideal world one would write unit-tests before writing any new code following the tenants of TDD. In reality it is quite common to have to rely on a legacy library to do some heavy lifting. Pex i… more →
Some CreativitySid wrote 7 months ago: In an ideal world one would write unit-tests before writing any new code following the tenants of TD … more →
Sid wrote 7 months ago: Indexers allow objects to behave like arrays. Dictionary class in .NET, for example, provides an ind … more →
Sid wrote 8 months ago: If you have been blessed with a windows-forms application that has business-logic invading the user- … more →
Sid wrote 8 months ago: Let’s say we have a class called ShoppingCartItem. We’re going to concern ourselves with two propert … more →
Sid wrote 8 months ago: There should be a compiler supported way in C# to declare a property with custom getter/setter logic … more →
Sid wrote 11 months ago: Had to do a bit of head-scratching on this one. New projects created in Visual Studio 2008 did show … more →
Sid wrote 1 year ago: I was describing how a simple yet extensible report-generator could be implemented quickly to someb … more →
Sid wrote 1 year ago: What’ll be the output of the following piece of code (asked here)? ArrayList a = new Array … more →
Sid wrote 1 year ago: I am fortunate enough to work with a couple of great individuals. Recently I was able to hypnotize p … more →
Sid wrote 1 year ago: Try-Catch-Finally A try-catch-finally is converted into IL by the C# compiler as a try-catch inside … more →
Sid wrote 1 year ago: There is some misinformation you’re likely to stumble upon via Google when searching for “C# compile … more →
Sid wrote 1 year ago: In an internal meeting of a bunch of developers at my current company, someone made the assertion th … more →
Sid wrote 1 year ago: Problem: Consider the following generic function written in VB.NET: Public Function Foo(Of T)( … more →
Sid wrote 1 year ago: If you’re reading this article, you’re most probably familiar with the InvokeRequired pr … more →
Sid wrote 1 year ago: Look at the following piece of code: private void Test() { string str … more →
Sid wrote 1 year ago: So anyway, this compiler group discovers that they no longer have 32K, or 128K, or 512K. Instead, th … more →
Sid wrote 1 year ago: Why did I write this article, and why should you read it I have heard blanket statements lately that … more →
Sid wrote 2 years ago: As we go about creating abstractions on top of other abstractions to get stuff done we cannot avoid … more →
Sid wrote 3 years ago: I have finished writing a .NET client library for Tagyu's REST Web-Service. Tagyu is a hosted s … more →