Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# how to convert string to int

string str = "100";
int x = Int32.Parse(str); // or int.Parse();
Console.WriteLine(x);
Source by www.techiedelight.com #
 
PREVIOUS NEXT
Tagged: #convert #string #int
ADD COMMENT
Topic
Name
3+1 =