As a follow up from my previous question, I noticed odd behaviour (with the console) when dividing by zero. I found that the following two statements compile fine:
Console.WriteLine(1d / 0d);
Console.WriteLine(1f / 0f);
Whereas these two give a compile time error:
Console.WriteLine(1 / 0);
Console.WriteLine(1m / 0m);
Of
Division by constant zero
Why is there this difference in behaviour?