What is the C# "checked" keyword for?

Viewed 22035

I just came across this keyword for the first time. What does it do, and when should it be used?

int multiply(int i, int j)
{
    return checked(i * j);
}
1 Answers
Related