C# Encoding UTF32

Description

Encoding UTF32 Gets an encoding for the UTF-32 format using the little endian byte order.

Syntax

Encoding.UTF32 has the following syntax.


public static Encoding UTF32 { get; }

Example


using System;/*from  w  ww. ja v  a  2s .co m*/
using System.Text;

public class Example
{
    public static void Main()
    {
        Encoding enc = Encoding.UTF32;

        Console.Write("{0,-30} :", enc.ToString());
    }
}

The code above generates the following result.





















Home »
  C# Tutorial »
    System.Text »




ASCIIEncoding
Encoding
EncodingInfo
StringBuilder
UnicodeEncoding
UTF8Encoding