How to convert a string of a number into int c# code example Example: string to int c# int x = Int32.Parse("1234");