Let us change our traditional attitude to the construction of programs. Instead of imagining that our main task is to instruct a computer what to do, let us concentrate rather on explaining to human beings what we want a computer to do. --Donald Knuth

Posts in developer


Convert Hex String to .NET Color

Learn an easy way and a hard way to convert a hex string to a .NET color using C#. Continue...

Developer Tips and Tutorials C# CSS HTML

Convert .NET Color to Hex String

Learn how to convert a hex string to a .NET color using C#. Continue...

Developer Tips and Tutorials .NET C# CSS HTML

Set Initial Focus on an ASP.NET Page

Here's a C# snippet to set the initial focus when a page loads. It takes into account some of the quirks with different types of controls and HTML elements. Continue...

Developer Tips and Tutorials C# Javascript Web

C# StyleHelper Class

While CSS is the preferred way to manage webpage styles these days, sometimes it's helpful to manage those styles programmatically. Continue...

Developer Tips and Tutorials C# CSS

C# RandomProvider Class

I provide a class, RandomProvider, which provides random numbers for several of the .NET data types and based on statistical distributions. Continue...

Developer Tips and Tutorials .NET C#

Version: 6.0.20200920.1535