How to cast the value entered in a textbox to integer

Platform: ASP.NET|Category: TextBox

VB.NET

Int32.Parse(TextBox1.Text)

C#

Int32.Parse(TextBox1.Text);