📜  如何在c#代码示例中输入参数

📅  最后修改于: 2022-03-11 14:49:09.581000             🧑  作者: Mango

代码示例1
static void MyMethod(string fname) 
{
  Console.WriteLine(fname + " Refsnes");
}
//If the code is already in a static you won't need to put static infront of it