using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace UdemyCSharp { class Program { //I get error CS1513 here static void Main() { enum dayofweek { } } } } // I get error CS1022 here What I have tried: I tried making the Curly Braces where it says to and I get more errors.
class Program { public enum dayofweek { Monday } static void Main() { dayofweek day = dayofweek.Monday; } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)