I’m having trouble declaring a const field in an abstract class. Why is this?
edit
I should have clarified. My problem is that my child classes can’t see the const field:
protected const string Prefix = "dynfrm_";
If I remove the const keyword, I can get to it from a grandchild class.
As long as you initialize it in the declaration, there shouldn’t be an issue. What is the error message you are receiving?