Abc.NCrafts.Quizz.Questions._014.Answer1.Run C# (CSharp) Méthode

Run() public static méthode

public static Run ( ) : void
Résultat 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