[Solved] Overriding Static Constants in Derived Classes in C#
What you’re looking for is a bit strange, but one option to keep them static and provide new value/implementation is to just hide the inherited members, by simply using the same name: public abstract class Effect { public const float duration = 1.0f; public static void boo() { // this prints 1.0f Console.WriteLine(duration); } } … Read more