create new int from a string c# code example
Example: c# how to convert string to int
string str = "100";
int x = Int32.Parse(str); // or int.Parse();
Console.WriteLine(x);
string str = "100";
int x = Int32.Parse(str); // or int.Parse();
Console.WriteLine(x);