using System; public class MainClass { public static void Main() { int thirty = Convert.ToInt32("1E", 16); // parse in hexadecimal uint five = Convert.ToUInt32("101", 2); // parse in binary } }