Abc.NCrafts.Quizz.Questions._026.Answer2.Run C# (CSharp) 메소드

Run() 공개 정적인 메소드

public static Run ( ) : void
리턴 void
        public static void Run()
        {
            const int days = 1;

            // begin
            var now = DateTime.UtcNow;
            if (now.TimeOfDay.Days >= days)
                _key = new Key { Value = 42 };
            // end

            Logger.Log("Value: {0}", _key.Value);
        }
Answer2