Check out example codes for "convert string to short c#". It will help you in understanding the concepts better.

Code Example 1

string numeroString = "3";
short numero = Convert.ToInt16(string);

Learn ReactJs, React Native from akashmittal.com