I have an enum like this
enum Animal:byte
{
Cat=0,
Dog=1,
Horse=2
}
I want to override the ToString()
of it to to write a custom string because my application is a multi-language one(Cat.ToString()
should retrieve the translated word of cat). so the Description
keyowrd can't be used here.can anyone give me a hint to find a neat way to solve this?