Can anyone tell me ???Why i am getting Error.when i tried to run the following code.let me know please.
Code:using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace CastingDemo
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
Int16 a= 10;
Int32 b= 20;
Int16 c;
c = short(a + b);
MessageBox.Show(c);
}
}
}

