He who joyfully marches to music in rank and file has already earned my contempt. He has been given a large brain by mistake, since for him the spinal cord would suffice. --Albert Einstein

Posts in developer


Extract Hex Digits From a String

Learn how to extract hex digits from a string using C#. Useful for cases where you have dirty hex information or extra characters. Continue...

Developer Tips and Tutorials C# Text

Parsing Email Addresses with Regular Expressions

Use C# to parse and validation email address. I present both a strict and lenient regular expression and discuss what constitutes a valid email address. Continue...

Developer Tips and Tutorials C# Email

Parsing URLs with Regular Expressions and the Regex Object

Go in depth in understanding the structure of a URL or URI and see a single regular expression that can be used to extract the various pieces in one fell swoop. Continue...

Developer Tips and Tutorials C# Regular Expressions

Convert Integer To Enum Instance in C#

Sample C# code showing how to convert an integer to an instance of an enumeration. Continue...

Developer Tips and Tutorials C#

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#

Version: 5.1.20200306.0422