I have a class like this
public class AppFlags
{
[Description("title")]
public static bool ShouldRemoveTitle = false;
}
I want to get the description attribute value "title" of field ShouldRemoveTitle. How to do that as a fast way.
I saw a solution here but it must copy field name "ShouldRemoveTitle" as parameter, which make function is too hard to use Extract Description Attribute from Const Fields