0

I would like to get the Class(or type Name) when my custom attribute is over it. Return the class name when the attribute is over it For example:

[FoodInfo("CheeseBurger")]
//get this name when the attribute is attached
//           This One
public class Burger : FoodItem, IFood
{
   
}
Sbfam 22
  • 91
  • 4

0 Answers0