int parse in c# code example
Example: parsing string to int c#
string userInput = Console.ReadLine();
int convert;
Int32.TryParse(userInput, out convert); // Converting String to int
string userInput = Console.ReadLine();
int convert;
Int32.TryParse(userInput, out convert); // Converting String to int