string decimal to int c# code example
Example 1: string to int c#
int x = Int32.Parse("1234");
Example 2: convert string to decimal c#
var convertDecimal = Convert.ToDecimal(value);
int x = Int32.Parse("1234");
var convertDecimal = Convert.ToDecimal(value);