C# Encoding UTF7

Description

Encoding UTF7 Gets an encoding for the UTF-7 format.

Syntax

Encoding.UTF7 has the following syntax.


public static Encoding UTF7 { get; }

Example


using System;//from w w  w.  ja va 2s  . co  m
using System.Text;

public class SamplesEncoding
{

    public static void Main()
    {
        Encoding enc = Encoding.UTF7;
        Console.Write("{0,-30} :", enc.ToString());
    }
}

The code above generates the following result.





















Home »
  C# Tutorial »
    System.Text »




ASCIIEncoding
Encoding
EncodingInfo
StringBuilder
UnicodeEncoding
UTF8Encoding