/opensource/extensions/system/string/queries/IsNullOrEmpty.cs
C# | 13 lines | 10 code | 0 blank | 3 comment | 0 complexity | 480f13db0dc1758fd510f94a460b9f61 MD5 | raw file
- namespace zielonka.co.uk.extensions.system.@string.queries
- {
- /*example
- if (myString.IsNullOrEmpty()) //... do something
- */
- public static partial class GenericExtensions
- {
- public static bool IsNullOrEmpty(this string obj)
- {
- return obj.IsNullOrEmpty();
- }
- }
- }