BUG
快乐的昕的电脑
2025-09-29 3a4c2e9c9e4ec95557b10f5d2d5f330627aa5f84
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
namespace PadApplication.util;
 
public class StringUtil
{
    /**
     * 判断字符串是否为空
     * 为空时返回true
     */
    public static bool IsNullOrEmpty(string? value)
    {
        return string.IsNullOrEmpty(value);
    }
 
    /**
     * 判断字符串是否为空
     * 不为空时返回true
     */
    public static bool IsNotNullOrEmpty(string? value)
    {
        return !string.IsNullOrEmpty(value);
    }
}