chinmay.sahoo
New member
Convert.ToInt32 is the keyword to be used to convert string to int.
For eg:-
For eg:-
class ConvStrtoInt
{
public static void Main()
{
String str = "2345";
int x = Convert.ToInt32(str);
Console.WriteLine(x);
}
}