How to Convert String Value into Integer Value in C#

Question : How to convert sting value into integer value ?
Answer :
Suppose str is a string that contain numeric value and we have to work numerical operation on that value then we have to convert it into integer for further process.
Example 
string str="5621";
int i;
i=int.Parse(str);
Now str is changed into integer value and we can perform a numerical task on it.



Next Recommended Reading Convert String to ASCII in C#