diff --git a/SystemExtensions.NetStandard/Extensions/StringExtensions.cs b/SystemExtensions.NetStandard/Extensions/StringExtensions.cs index 15317f9..2c62f5b 100644 --- a/SystemExtensions.NetStandard/Extensions/StringExtensions.cs +++ b/SystemExtensions.NetStandard/Extensions/StringExtensions.cs @@ -4,6 +4,16 @@ namespace System.Extensions { public static class StringExtensions { + public static bool IsNullOrEmpty(this string s) + { + return string.IsNullOrEmpty(s); + } + + public static bool IsNullOrWhiteSpace(this string s) + { + return string.IsNullOrWhiteSpace(s); + } + public static byte[] GetBytes(this string s) { return Encoding.UTF8.GetBytes(s); diff --git a/SystemExtensions.NetStandard/SystemExtensions.NetStandard.csproj b/SystemExtensions.NetStandard/SystemExtensions.NetStandard.csproj index cefef3b..4cdef1d 100644 --- a/SystemExtensions.NetStandard/SystemExtensions.NetStandard.csproj +++ b/SystemExtensions.NetStandard/SystemExtensions.NetStandard.csproj @@ -6,7 +6,7 @@ LICENSE true System - 1.1.2 + 1.1.3 Alexandru Macocian https://github.com/AlexMacocian/SystemExtensions