Abc.NCrafts.Quizz.Questions._014.Answer1.Run C# (CSharp) Method

Run() public static method

public static Run ( ) : void
return void
        public static void Run()
        {
            var s = "ncrafts";

            // begin
            unsafe
            {
                fixed (char* p = s)
                {
                    for (var i = 0; i < s.Length; i++)
                    {
                        *(p + i) = char.ToUpper((*p));
                    }
                }
            }
            // end

            Logger.Log(s);
        }
    }
Answer1