Click here to Skip to main content
13,093,097 members (65,030 online)

Articles by Henry.Ayoola (Tip/Tricks: 2)

Tip/Tricks: 2

RSS Feed
No articles have been posted.
No blogs have been submitted.

Average tips rating: 5.00

Programming Tips
General
Posted: 15 Feb 2011   Updated: 8 Mar 2011   Views: 2,220   Rating: 0.00/5    Votes:    Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
Several of the answers here lack fallbacks for Unicode.static string ToggleCaseHA(string str) { char[] chs = str.ToCharArray(); for (int i = chs.Length - 1; i >= 0; i--) { char ch = chs[i]; char foo = (char)(ch & ~0x20); if ((foo >= 0x41 && foo <= 0x5a)...
Posted: 7 Nov 2011   Updated: 7 Nov 2011   Views: 11,890   Rating: 5.00/5    Votes: 3   Popularity: 2.39
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
Jon Skeet has written an article giving six singleton implementations in C#. The simplest only works in .NET 4:public sealed class Singleton{ private static readonly Lazy lazy = new Lazy(() => new Singleton()); public static Singleton Instance {...
No reference articles have been posted.

Henry.Ayoola
United States United States
No Biography provided


Advertise | Privacy |
Web01 | 2.8.170813.1 | Last Updated 21 Aug 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid