?
What will be the output of the following C# code?
What will be the output of the following C# code?
enum days:int
{
sunday = -3,
monday,
tuesday
}
Console.WriteLine((int)days.sunday);
Console.WriteLine((int)days.monday);
Console.WriteLine((int)days.tuesday);
enum days:int
{
sunday = -3,
monday,
tuesday
}
Console.WriteLine((int)days.sunday);
Console.WriteLine((int)days.monday);
Console.WriteLine((int)days.tuesday);
Join the Discussion
Login to post a comment or share your explanation.
Login