Created
March 31, 2014 01:52
-
-
Save baba-s/9883645 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| using System; | |
| /// <summary> | |
| /// string型の汎用関数を管理するクラス | |
| /// </summary> | |
| public static partial class StringCommon | |
| { | |
| /// <summary> | |
| /// 指定された文字列が null または空であるか、空白文字だけで構成されているかどうかを返します | |
| /// </summary> | |
| public static bool IsNullOrWhiteSpace(string value) | |
| { | |
| return value == null || value.Trim() == ""; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment