I will do today what others won't so I can do tomorrow what others can't.

Archive for the 'C#' Category

Write Less Code: C# Properties

February 15th, 2018 Posted in C#, Refactoring | Comments »

I inherited the responsibility of maintaining an internal development tool implemented in C#. I recently added new classes to extend the tool’s functionality. Several of the new classes uses several properties, and I found myself writing code similar to the following: class Shape { private int _width; private int _height; private bool _isVisible; public int […]

Creating COM Components using Visual C#.NET

October 8th, 2005 Posted in C#, Web Development | 47 Comments »

Developers are sometimes asked to support older software systems that utilize obsolete technologies. This may be difficult when the development tools used to implement the older software system are not available and have been replaced by newer tools that do not seem to support the former tools’ technologies. Faced with the need to replace a […]