Abc.NCrafts.Quizz.Questions._008.Answer1.Run C# (CSharp) 메소드

Run() 공개 정적인 메소드

public static Run ( ) : void
리턴 void
        public static void Run()
        {
            // begin
            var status = Status.S2 | Status.S3;
            var hasFlag = status.HasFlag(Status.S1);
            if (hasFlag)
                Console.WriteLine("Allocation!");
            // end
        }
Answer1