Periodic Table of Visualizations

Visual-literacy.org has a nicely done Periodic Table of Visualizations.

Convert from String to Byte array in C#

To convert from a string to a byte[] in C# use the following code:


byte[] newByteArray = System.Text.Encoding.UTF8.GetBytes("Hello World");

You can use UTF8, UTF16 (Unicode), and UTF32 encoding.