Just a quick one- why does c# allow char casting of ints above 255?
e.g.
Console.Write((char)300);
it shouldn’t return characters but it does (even for big ints) so how does it determine these characters? does it auto translate to different character formats?
Because a char in .NET is a Unicode-Char, i.e. it is 16 bit long.