Can I force a subclass to declare a constant?
<p>I want to force subclasses to define a constant value. </p>

<p>Like</p>

<pre><code>const string SomeConstantEverySubclassMustDefine = "abc";
</code></pre>

<p>I need that because I need to have it tied to the Type, rather than to the instance and you can't override static Methods/Properties iirc.</p>

<p>I'd really like to have a compile-time check for those constants.</p>

<p>Let me explain in more detail:</p>

<p>Some classes in our Domain-Model are special, you can take certain actions for them, depending on the type. Thus the logic is tied to the type. The action to be taken requires a string tied to the type. I sure could create an instance everytime as a workaround and declare an abstract property, but that's not what I want. I want to enforce the declaration of the string at compile-time, just to be sure.</p>
