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.

Getting the Office 2010 API for C#

The following link is for the Microsoft Office Outlook 2010 API documentation.

For some reason finding this link initially was much more challenging than I would have thought.  So I’m blogging about it here both as a way for me to find it again and hopefully a way for others to not wast the amount of time I had to to find it.