My apologies if this question already exists, but I have not found it here on SO. That's why I ask it. Anyway...
Say you have following very simple method:
public int Square(int i)
{
return i * i;
}
When I use the method like this:
int result = Square(Int32.MaxValue);
Console.WriteLine("Result: " + result);
This is the result:
Result: 1
Why does this compile and execute succesfully, and why is 1 returned?