A hidden benefit of health insurance

When I went the self-employment route three years ago, Debra took on the job of finding us some private health insurance. We finally settled on a plan that costs us about $300 per month and has a pretty high annual deductible–over $5,000. We also opened a health savings account so that our medical bills are . . . → Read More: A hidden benefit of health insurance

Calling static methods as instance methods

I was half asleep yesterday when I fired off an email to my co-workers about the String.IsNullOrEmpty method in the .NET runtime. One thing I said in the mail was:

I find it curious that IsNullOrEmpty is a static method rather than an instance method. Why can’t I say: if (!someString.IsNullOrEmpty())

The obvious answer, as . . . → Read More: Calling static methods as instance methods

Debugging a stalled engine

You’re looking at the front end of my riding lawn mower. After 12 seasons of use and my own maintenance, I finally had some problems with it that were better handled by a repair shop. I got the machine back on Wednesday after they replaced the starter and ring gear, did a tune-up, adjusted . . . → Read More: Debugging a stalled engine

HashSet Limitations

Version 3.5 of the .NET runtime class library introduced the HashSet generic collection type. HashSet represents a set of values that you can quickly query to determine if a value exists in the set, or enumerate to list all of the items in the set. You can also perform standard set operations: union, intersection, determine . . . → Read More: HashSet Limitations