using System;

namespace MyCompiler
{
    public enum MyCustomEnum
    {
        Parameter1 = 1 << 1, // 2
        Parameter2 = 1 << 2, // 4
        Parameter3 = 1 << 3, // 8
        Parameter4 = 1 << 4, // 16
    }
    
    public static class Program
    {
        public static void Main(string[] args)
        {
            var custom = MyCustomEnum.Parameter1 | MyCustomEnum.Parameter2;
            
            Console.WriteLine((custom & MyCustomEnum.Parameter1) != 0);
            Console.WriteLine((custom & MyCustomEnum.Parameter2) != 0);
            Console.WriteLine((custom & MyCustomEnum.Parameter3) != 0);
            Console.WriteLine((custom & MyCustomEnum.Parameter4) != 0);
        }
    }
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: