Hi guys,
here is the idea. I'm writing a piece of code that performs different actions based on type parameter. The types are obviously encapsulated in enum in C# code. This is all OK except that I'm hard coding actions list in enum - therefore upon requirement to add another action C# code needs to be modified and recompiled and this means that whole application needs to be redeployed, downtime needs to be scheduled etc, etc.

So I would like to have a list of options in my .config file and dynamically build a enum out of them. How this can be done? Any advice, suggestion or criticism is welcome.

Thanks,
Tommy

PS
I'm using .NET 2.0