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

Code Example 1

int vIn = 0;
short vOut = Convert.ToInt16(vIn);

Learn ReactJs, React Native from akashmittal.com