📅  最后修改于: 2022-03-11 14:49:01.111000             🧑  作者: Mango
public void SayHello(string name)
{
Console.WriteLine("Hello");
}
public void SayName()
{
Console.WriteLine("What is your name?");
string name = Console.ReadLine();
SayHello(name);
}