public partial class Main : Form { public Main() { foreach(var parameter in typeof(Main).GetMethod("fnAAA").GetParameters()) { Console.WriteLine(parameter.Name); } /* a b c */ } public string fnAAA(string a, string b, string c) { return ""; }
来源:http://blog.csdn.net/q107770540/article/details/6053218