MethodInfo: Name : MethodInfo « Reflection « C# / C Sharp
- C# / C Sharp
- Reflection
- MethodInfo
MethodInfo: Name
using System;
using System.Collections;
using System.Reflection;
public class Starter {
public static void Main() {
Object obj = new Object();
Type t = obj.GetType();
foreach (MethodInfo m in t.GetMethods()) {
Console.WriteLine(m.Name);
}
}
}
Related examples in the same category