Jonathan Wood

Description:I'm a software/website developer working out of the greater Salt Lake City area in Utah. I've developed many websites including Black Belt Coder, Insider Articles, and others.

I hike each week with my dogs Suki and Sasha. You can see my hiking blog at Hiking Salt Lake.
Time Zone:Mountain Standard Time


Obfuscated Swaps
Here's some tricks for swapping values between two variables in a way that makes it more difficult for a hacker debugging your program to understand.
By Jonathan Wood • Created on Saturday, November 1, 2014
Confirm Before Deleting GridView Item
Use this technique to efficiently confirm a delete operation with the user from controls such the GridView control.
By Jonathan Wood • Updated on Tuesday, December 7, 2010
Adding HTML Help to Existing Dialog-Based Application
I recently had to add HTML help to an existing MFC dialog-based application. This article is my attempt to document what I learned.
By Jonathan Wood • Created on Wednesday, September 6, 2017
Simulating the Monty Hall Problem
The Monty Hall Problem is an interesting puzzle first presented in Marilyn vos Savant's "Ask Marylyn" column. Her answer sparked some controversy by people who disagreed. This article presents code to simulate the situation described by the puzzle to show if Marilyn was right.
By Jonathan Wood • Created on Sunday, July 6, 2014
Displaying File Sizes
Here's the routine I use to display file sizes similar to the way Windows Explorer does.
By Jonathan Wood • Created on Monday, January 17, 2011
Accessing the Windows Registry
Although the Windows registry is no longer the recommended place to store your application's settings, there are still a few advantages to doing so. Here's a discussion of how to access the Windows registry using C#, and source code for a sample program that makes it easy to store your application's settings.
By Jonathan Wood • Created on Monday, April 21, 2014
Parsing Text with Extension Methods
Extension methods are a cool new feature of C#. This article describes extension methods and presents code that adds a number of methods related to text parsing to the String class.
By Jonathan Wood • Created on Monday, March 7, 2011
Resolving Partial URLs
This article presents code that resolves a partial URL by combining it with a base URL.
By Jonathan Wood • Created on Thursday, December 16, 2010
Extending System.String
Using extension methods, it is easy to extend an existing class. Here's some code to add a number of interesting extensions to System.String.
By Jonathan Wood • Created on Friday, July 11, 2014
Precisely Defining Kilobytes, Megabytes and Gigabytes
Developers are familiar with terms such as kilobytes, megabytes and gigabytes. Most of us know that a kilobyte is approximately a thousand bytes and a megabyte is approximately a million bytes. That knowledge is sufficient for most purposes. This short article provides the information you'll need to be more precise.
By Jonathan Wood • Created on Wednesday, November 10, 2010
First ... 6 7 8 9 Last