CSharp - What is the output: Dividing by a zero valued literal?

Question

What is the output of the following code?

using System;
class MainClass
{
   public static void Main(string[] args)
   {
         int c = 5 / 0;
         Console.WriteLine(c);

   }
}


Click to view the answer

int c = 5 / 0;//a compile-time error

Note

Dividing by the literal or constant 0 generates a compile-time error.