Click here to Skip to main content

Comments by kiswa00 (Top 6 by date)

kiswa00 at 16-Jun-11 8:23am View
   
Deleted
You can remove the ToString() calls if you replace the " " with ' ' in the Append call. It would then look like:
builder.Append((char.IsUpper(propertyName, i)) ? ' ' + propertyName[i] : propertyName[i];
kiswa00 at 8-Jun-11 9:16am View
   
Deleted
Thanks, I'm glad you found my suggestions useful!
kiswa00 at 8-Jun-11 9:05am View
   
Deleted
Yeah, I forgot to include the check for null or empty. It's there now, thanks!
kiswa00 at 8-Jun-11 9:01am View
   
Deleted
I meant to add that in, thanks for reminding me!
kiswa00 at 7-Jun-11 8:25am View
   
Deleted
Reason for my vote of 3
See comment on alternate.
kiswa00 at 7-Jun-11 7:58am View
   
Deleted
Two things: One, I think you mean "a version below .NET Framework 4.0" not "a version .NET Framework 4.0 or below" - they have very different meanings.
 
Two, you never use ignorecase in your ParseEnum method. I think your call to Enum.Parse should use ignorecase instead of default(bool) for the last parameter.

Advertise | Privacy | Mobile
Web04 | 2.8.140721.1 | Last Updated 1 Jan 1900
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid