Click here to Skip to main content

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: 1,015   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
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: 5,561   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 | Mobile
Web03 | 2.8.140916.1 | Last Updated 19 Sep 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid