J
Jacek Jurkowski
Here's some code:
public enum Cars
{
[CarWidthAttribute(2540)]
[CarColorAttribute("Black")]
BMW = 1,
[CarWidthAttribute(2620)]
[CarColorAttribute("Red")]
BUICK = 2.
{
How to reflect attributes describing BMW?
Somethink like:
Cars.BMW.GetType().GetCustomAttributes();
public enum Cars
{
[CarWidthAttribute(2540)]
[CarColorAttribute("Black")]
BMW = 1,
[CarWidthAttribute(2620)]
[CarColorAttribute("Red")]
BUICK = 2.
{
How to reflect attributes describing BMW?
Somethink like:
Cars.BMW.GetType().GetCustomAttributes();