Kevin Isom

Just a good ol' boy, by-God Virginia-proud and country-sophisticated -- sort of like a John Deere tractor with air conditioning and satellite radio.

Browse by Tags

All Tags » Code (RSS)
Preventing simple errors with the null coalescing operator
How often have you seen code like this? 1: string myAppSetting = ConfigurationManager.AppSetting[ "key" ]; 2: if (myAppSetting== null ) 3: myAppSetting = "MyDefaultSetting" .csharpcode, .csharpcode pre { font-size: small; color: black;...

Posted by kevinisom | with no comments

Filed under: ,

Visual Basic.Net ain't half bad
There I said it. I'm a C# guy. Now about 4 years when I started with .Net I started writing in VB.Net but I quickly decided to move C#. This, despite having spent the 3+ years prior working in ASP Classic. After a little bit of C# I quickly adopted the...

Posted by kevinisom | with no comments

Filed under: , , ,

Visual Basic.Net and NUnit Gotcha
I like the NUnit 2.4 Constraint based syntax . So In my new role I am having to implement Unit Testing so I decided on going with NUnit to begin with despite my preference for MbUnit . But once I got started writing my tests, I discover Is is a keyword...

Posted by kevinisom | 3 comment(s)

Sorting a generic list
One of the nice features of System.Collection.Generics.List is it is able to sort on the go with a IComparable , and you can do that simply with an anonomous method This is simply done like so. 1: List<Attribute> attributes = Entity.Get(); 2: attributes...

Posted by kevinisom | with no comments

Filed under: ,

More Posts