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

Popular Blog Posts

Convert String to Enum Instance

C# code sample showing how to convert a string to an instance of an enumeration. Continue...

Developer Tips and Tutorials C#

How do I get the application path in an ASP.NET application?

A simple snippet to show you how to get the virtual application path which is relative to the root of the website. Continue...

Developer Tips and Tutorials ASP.NET Web

How Do I Read a File As an Array of Bytes in C#

Learn how to use a stream to read the byte content of a file. You can also use the new ReadAllBytes method on the File class. Continue...

Developer Tips and Tutorials .NET C#

Convert String to Int in C#

Three different ways to convert a string to an integer in C# and the pros and cons of each. Continue...

Developer Tips and Tutorials C#

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

Version: 5.1.20190301.2112