Mega Code Archive

 
Categories / C# Tutorial / Development
 

Upper or lower casing for hex determines if letters are upperlowercase

using System; using System.Collections.Generic; using System.Linq; using System.Text;   class Program   {     static void Main(string[] args)     {       Console.WriteLine("E format: {0:E}", 99999);       Console.WriteLine("e format: {0:e}", 99999);       Console.WriteLine("X format: {0:X}", 99999);       Console.WriteLine("x format: {0:x}", 99999);     }   }