M_Cyjb_StringView_Equals_4 - CYJB/Cyjb GitHub Wiki
返回当前对象是否等于另一字符串。
Namespace: Cyjb
Assembly: Cyjb (in Cyjb.dll) Version: 1.0.23+7750dd8e971297c5fa962a3bee37fb78f72793f6
C#
public bool Equals(
string? other,
StringComparison comparisonType
)
- other
- Type: System.String
要比较的字符串。 - comparisonType
- Type: System.StringComparison
比较时使用的规则。
Type: Boolean
如果当前对象等于 other,则为 true
;否则为 false
。