Blogs about: Techhacks

Featured Blog

Using Pex to test VB.NET code1 comment

Sid wrote 7 months ago: In an ideal world one would write unit-tests before writing any new code following the tenants of TD … more →

Tags: .NET, C#, PEX, VB.NET

Mocking indexers with NMock

Sid wrote 7 months ago: Indexers allow objects to behave like arrays. Dictionary class in .NET, for example, provides an ind … more →

Tags: .NET, indexers, NMock

Automating windows forms UI testing

Sid wrote 8 months ago: If you have been blessed with a windows-forms application that has business-logic invading the user- … more →

Tags: .NET, General, automated UI testing, Windows Forms

Automatic properties with custom logic – part 25 comments

Sid wrote 8 months ago: Let’s say we have a class called ShoppingCartItem. We’re going to concern ourselves with two propert … more →

Tags: .NET, Automatic properties, lambda expressions, C# 3.0

Automatic properties with custom logic2 comments

Sid wrote 8 months ago: There should be a compiler supported way in C# to declare a property with custom getter/setter logic … more →

Tags: General, .NET, C#, VB, Automatic properties

"Add Service Reference" option not appearing in Visual Studio 20088 comments

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 →

Tags: .NET, .Net 3.5, WCF

A simple RTF report generator1 comment

Sid wrote 1 year ago: I was describing how a simple yet extensible report-generator could be implemented quickly to someb … more →

Tags: .NET, RTF, Report, Reflection

ArrayList item comparison1 comment

Sid wrote 1 year ago: What’ll be the output of the following piece of code (asked here)? ArrayList a = new Array … more →

Tags: .NET

What you should do...

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 →

Tags: General, technology

Two (useless but potentially) interesting tid-bits

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 →

Tags: General, .NET, Try, compiler

C# compiler optimizations and empty “try” block1 comment

Sid wrote 1 year ago: There is some misinformation you’re likely to stumble upon via Google when searching for “C# compile … more →

Tags: General, C#, compiler optimization, empty try

Switch is just If-Else-If

Sid wrote 1 year ago: In an internal meeting of a bunch of developers at my current company, someone made the assertion th … more →

Tags: .NET, General, jump table, Switch

On assigning null to value-types in VB.NET

Sid wrote 1 year ago: Problem: Consider the following generic function written in VB.NET: Public Function Foo(Of T)( … more →

Tags: .NET, broken, Generics, VB.NET

WPF equivalent of InvokeRequired1 comment

Sid wrote 1 year ago: If you’re reading this article, you’re most probably familiar with the InvokeRequired pr … more →

Tags: .NET

Something about .NET string interning

Sid wrote 1 year ago: Look at the following piece of code: private void Test() { string str … more →

Tags: General, .NET, string interning

When not to optimize

Sid wrote 1 year ago: So anyway, this compiler group discovers that they no longer have 32K, or 128K, or 512K. Instead, th … more →

Tags: .NET, Optimization, Measure

A look at DoEvents

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 →

Tags: .NET, doevents, Windows Forms

Workarounds7 comments

Sid wrote 2 years ago: As we go about creating abstractions on top of other abstractions to get stuff done we cannot avoid … more →

TagyuLib - Tagyu .NET Client Library

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 →

Tags: Tagyu


Have your say. Start a blog.

See our free features →

Related Tags
All →

Follow this tag via RSS

Find other items tagged with “techhacks”:
Technorati Del.icio.us IceRocket