Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Equals() [2/6]

bool System.String.Equals ( [NotNullWhen(true)] string? value)
inline

Definition at line 538 of file String.cs.

539 {
540 if ((object)this == value)
541 {
542 return true;
543 }
544 if ((object)value == null)
545 {
546 return false;
547 }
548 if (Length != value.Length)
549 {
550 return false;
551 }
552 return EqualsHelper(this, value);
553 }
static bool EqualsHelper(string strA, string strB)
Definition String.cs:110

References System.String.EqualsHelper(), System.String.Length, and System.value.