C# does not let me sum two shorts to a short

Viewed 9641

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!

3 Answers
Related