Are Static Variables in Base Classes Shared In Derived Sub Classes?

added by Sunday_Ironfoot
7/30/2010 4:26:52 AM

1 Kicks, 92 Views

Development Gotchas - Something that caught me out recently is the behavior of static variables in C# classes, and how they behave in derived classes. Also how does this differ with static variables in Generic<T> base classes? Finally, we use this understanding to create a generic base Singleton class.