I have a code:
static short Sum(short a, short b)
{
return a + b;
}
And it does not compile, saynig cannot convert 'int' to 'short'. I am maybe really tired today but I cannot see the issue!
I have a code:
static short Sum(short a, short b)
{
return a + b;
}
And it does not compile, saynig cannot convert 'int' to 'short'. I am maybe really tired today but I cannot see the issue!