convert int to short csharp

Code Example - convert int to short csharp

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

csharp int to short

                        
                                int max =120;
short min=(short)max;
                            
                        
 

Related code examples