How to Convert String to Int in C#

added by DotNetKicks
3/7/2022 4:31:37 PM

226 Views

In this article, we are going to talk about how to convert string to int in C#. Int is an alias of Int32, and defines an integer number in range from -2,147,483,648 to +2,147,483,647. Setting a value of an int variable that is out of this range, will produce a "System Overflow Exception".


0 comments