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