Initializes a new instance of the UTF8Encoding class.
using System; using System.Text; class UTF8EncodingExample { public static void Main() { UTF8Encoding utf8 = new UTF8Encoding(); String encodingName = utf8.EncodingName; Console.WriteLine("Encoding name: " + encodingName); } }