Pessimists, we're told, look at a glass containing 50% air and 50% water and see it as half empty. Optimists, in contrast, see it as half full. Engineers, of course, understand the glass is twice as big as it needs to be. --Bob Lewis
Posts in c#
Posted
Friday, May 31, 2019 by
Steve.
Views: 16,217 Today: 4
There are a lot of ways you can hack a time of day in C#, but why not use a dedicated TimeOfDay class. Continue...
Developer
C#
Posted
Wednesday, Jul 31, 2013 by
Steve.
Views: 56,826 Today: 5
In the process of customizing the RichTextBox for Inspire Writing Studio, I discovered the need to manage my own undo/redo stack. I present the code for a simple generic undo/redo stack. This generic undo/redo implementation can be extended for a variety of usage scenarios. Continue...
Developer
Tips and Tutorials
C#
Posted
Wednesday, Jan 16, 2013 by
Steve.
Views: 20,134 Today: 4
Should you ever use the var keyword in C#? What about Javascript? Being clear and precise is very important in legal contracts, but it's even more important in software. An unfortunate experience as a teenager helped crystallize the importance of being explicit in both legal matters and software. Continue...
Developer
The Programmer's Code
C#
Javascript
Posted
Friday, Jan 13, 2012 by
Steve.
Views: 52,019 Today: 1
Learn how easy it can be to wireup a syndication feed for your site. The .NET framework allows you to build the feed content once and publish it using either the RSS or Atom protocol. Continue...
Developer
Tips and Tutorials
C#
ATOM
RSS
Posted
Saturday, Nov 05, 2011 by
Steve.
Views: 314,444 Today: 11