Whenever I use byte or short data type as a method parameter, on method calls, I am required to explicitly cast the values I pass to those methods.
To better explain:
void foo(short x)
{}
void main() {foo((short)32);}
If I dont use short here then warning is generated.
method foo in class px cannot be applied to given types
required: byte
found: int
How can I get it better?