public static void Main()
Console.WriteLine("----- Auth2Type ----");
Auth2Type typeAuth2 = Auth2Type.None;
typeAuth2 = Auth2Type.Opt1 | Auth2Type.Opt5;
Console.WriteLine("value : " + typeAuth2.GetHashCode());
Console.WriteLine("string : " + ((Auth2Type)typeAuth2).ToString());
Console.WriteLine("Auth2Type.Opt1 : " + typeAuth2.HasFlag(Auth2Type.Opt1));
Console.WriteLine("Auth2Type.Opt2 : " + typeAuth2.HasFlag(Auth2Type.Opt2));