L
Locia
I would like print information about methods of FieldInfo class.
I don't want print information about property.How can do this?
Now with the following code also print information about property.
MethodInfo[] methods = typeof(FieldInfo).GetMethods();
foreach (MethodInfo m in methods)
{
Console.WriteLine(m);
}
I don't want print information about property.How can do this?
Now with the following code also print information about property.
MethodInfo[] methods = typeof(FieldInfo).GetMethods();
foreach (MethodInfo m in methods)
{
Console.WriteLine(m);
}