Created
July 9, 2012 23:44
-
-
Save pparadis/3079855 to your computer and use it in GitHub Desktop.
IsEmpty (Tiré de https://github.com/hibernating-rhinos/NMemcached/blob/master/NMemcached/Extensions/StringExtensions.cs)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace NMemcached.Extensions | |
{ | |
public static class StringExtensions | |
{ | |
public static bool IsEmpty(this string s) | |
{ | |
return string.IsNullOrEmpty(s); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment