The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

    • RT @joslat: Hi .NET community, I just posted a new blog on Implementing a GraphQL Client in Blazor with StrawberryShake & HotChocolate - yo… 1 hour ago
    • @shanselman I am not surprised. 1 hour ago
    • Ondanks zeker 6 keer "retour afzender" blijft @Amref_NL maandelijks post sturen. Pennen gaan na de crisis naar @carmenverheul. 1 hour ago
    • RT @marcdehond: Nu live vanuit het Witte Huis, zeker 15 politici die zich niks aantrekken van social distancing. Wat een voorbeeld voor de… 1 hour ago
    • RT @jaredpar: There is nothing I appreciate more than bugs that have minimal repros attached to them. 1 hour ago
  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,866 other followers

Archive for April 28th, 2009

WordPress – bug in sourcecode shortcode: backslash followed by zero is removed

Posted by jpluimers on 2009/04/28

See this support post:
http://en.forums.wordpress.com/topic/bug-within-sourcecode-backslash-followed-by-zero-is-removed

It seems even that post is affected by the same bug.

–jeroen

Posted in Development, WordPress | Tagged: | 2 Comments »

.NET/C# – an easier foreach for enums using generic methods

Posted by jpluimers on 2009/04/28

I like enums. Maybe because of my Turbo Pascal and Delphi background. They are descriptive. Makes code easier to read.

        public enum TrafficLightColors
        {
            Red,
            Yellow,
            Green
        }

But using them in C# foreach loops is a bit of a pain, not so much in the loop itself, but more in getting the list of values to loop over.
Read the rest of this entry »

Posted in .NET, C# 2.0, Delphi, Development, Software Development | Leave a Comment »

 
%d bloggers like this: