C# Enumeration

defined as an enumeration and used anywhere in the program. In C#, the enumeration is defined with the help of the keyword ‘enum’.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DemoApplication
 class Program 
  enum Days{Sun,Mon,tue,Wed,thu,Fri,Sat};
  static void Main(string[] args) 

0 Comment's

Comment Form