using System;
using System.Collections.Generic;
using System.Text;
namespace ConsoleApplication1
{
classProgram
{
staticvoid Main(string[] args)
{
Console.WriteLine(Test("Jack"));//不传值,显示Jack
Console.WriteLine(Test("Jack","Hi"));//传一个值,显示Jack Hi
Console.WriteLine(Test("Jack","Hi", "How are you?"));//传多个值,显示Jack Hi How are you?