How to convert UTF7 string into ANSI in C#

The simplest way to transforming a UTF-7 encoded string is to use the .net System.Text.Encoding abstract class. It internally uses System.Security class library to provide the transform we are targeting for like ASCII, BigEndianUnicode, Unicode, UTF32, UTF7, and UTF8. [More]