82
Console.WriteLine("typeAuth3 = Auth3Type.OptAll ^Auth3Type.Opt1 ^Auth3Type.Opt6; ====> : " + typeAuth3);
1
using System;
2
3
/// <summary>
4
/// 권한3 옵션
5
/// </summary>
6
[Flags]
7
public enum Auth3Type
8
{
9
None = 0
10
11
, Opt0 = 1 << 0
12
, Opt1 = 1 << 1
13
, Opt2 = 1 << 2
14
, Opt3 = 1 << 3
15
, Opt4 = 1 << 4
16
, Opt5 = 1 << 5
17
, Opt6 = 1 << 6
18
19
, OptAll = int.MaxValue
20
}
21
22
public class Program
23
{
24
public static void Main()
Cached Result