We can get the description of a property, such as:
Attribute attribute = memberInfo.GetCustomAttribute(typeof(DescriptionAttribute));
if (attribute != null)
{
DescriptionAttribute descAttr = attribute as DescriptionAttribute;
string description = descAttr.Description;
...
}
But this code is not applicable to MethodInfo, How can I get description(or summary) from a method?


][3]