29 July 2010 - 11:50 PM / by Dominic Pettifer. 3 Comments for Static Variable Gotchas - Are Static Variables in Base Classes Shared In Derived Sub Classes?.
Development Gotchas - Something that caught me out recently is the behaviour 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.
11 October 2007 - 1:43 PM / by Dominic Pettifer. 1 Comment for Using Namespace Aliases.
Cool C# Snippets - Ever get tired of prefixing class names with the fully qualified namespace to avoid class name and namespace conflicts (eg. System.Namespace.AnotherNamespace.User). Well there’s a way around it using Namespace Aliases.
What is your DIP/IOC Container of choice?
Thank you for voting!
View Comments (5) (See previous polls)BTW: that last tweet was a joke, no actual money will be forthcoming
about 1 hour ago from EchofonI'll give £10 to anyone who retweets this message before 6pm
about 1 hour ago from EchofonRT: @ronskidoodles: OKAY OKAY OKAY!! The RT competition/freebie/stupid idea is now over!! @sironfoot is the last person to get one. - YAY!!!
about 1 hour ago from Echofon@ronskidoodles promises illustrations for anyone who retweets his new website. Gets over 210 RT (so far). Welcome to Twitter :-)
about 1 hour ago from Echofon