test.cs

来自「csharp-solution,C#高效编程源码」· CS 代码 · 共 27 行

CS
27
字号
namespace Utils
{
    using System;

    /// <summary>
    ///   This the test harness
    /// </summary>

    public class Test
    {
        public static void Main() 
        {
            string message;

			// Get an input string
			Console.Write("Enter a string to reverse:");
			message = Console.ReadLine();

			// Reverse the string
			Utils.Reverse(ref message);

			// Display the result
			Console.WriteLine(message);
        }
    }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?