方法参数默认值mona included in 2024-06-17 11 words One minute Contents 参数默认值支持多个参数添加默认值 每个参数都可以有默认值没有默认值的参数要写在前面 static int Speak(string str = "我不想说话"){ }