test、

amespace ConsoleApplication8
{
public partial class Program
{
static void Main(string[] args)
{
MethodInfo[] methodInfos = typeof(ConsoleApplication8.Program).GetMethods();
// sort methods by name

StringBuilder sb = new StringBuilder();
// write method names
foreach (MethodInfo methodInfo in methodInfos)
{

Console.WriteLine(methodInfo.Name);

}


}


public void test()
{

}
}
}

posted @ 2017-04-04 20:09  天生弱智难自弃  阅读(91)  评论(0编辑  收藏  举报