Conversion Int from a String in C#

Forums:

var strNumber = "42";
var number = int.Parse(strNumber);