I know that it’s impossible to cast string or bool like (int)MyString (short)MyBool and so on while it’s allowed to cast int to short.
Unfortunately I could not find explanation, why. So I’m asking it here.
Why is not allowed explicitly cast some data types (I am not asking how to convert string to other types or something like this)?
Refer: Casting and Type Conversions (C# Programming Guide)
From: Explicit Conversion