using System;
using System.Globalization;
using System.Text;
class SamplesNumberFormatInfo {
public static void Main() {
NumberFormatInfo myInv = NumberFormatInfo.InvariantInfo;
UnicodeEncoding myUE = new UnicodeEncoding( true, false );
byte[] myCodes;
Console.WriteLine( "PercentDecimalDigits{0}", myInv.PercentDecimalDigits );
Console.WriteLine( "PercentDecimalSeparator{0}", myInv.PercentDecimalSeparator );
Console.WriteLine( "PercentGroupSeparator{0}", myInv.PercentGroupSeparator );
Console.WriteLine( "PercentGroupSizes{0}", myInv.PercentGroupSizes[0] );
Console.WriteLine( "PercentNegativePattern{0}", myInv.PercentNegativePattern );
Console.WriteLine( "PercentPositivePattern{0}", myInv.PercentPositivePattern );
myCodes = myUE.GetBytes( myInv.PercentSymbol );
Console.WriteLine( "PercentSymbol{0}(U+{1:x2}{2:x2})", myInv.PercentSymbol, myCodes[0], myCodes[1] );
myCodes = myUE.GetBytes( myInv.PerMilleSymbol );
Console.WriteLine( "PerMilleSymbol{0}(U+{1:x2}{2:x2})", myInv.PerMilleSymbol, myCodes[0], myCodes[1] );
Console.WriteLine( "PositiveInfinitySymbol{0}", myInv.PositiveInfinitySymbol );
Console.WriteLine( "PositiveSign{0}", myInv.PositiveSign );
}
}