CapyKit/Documentation/Help/M_CapyKit_Helpers_SecurityHelper_CompareStrings.md
2024-09-04 19:31:43 -05:00

1.6 KiB

CompareStrings Method

Compare two strings as case sensative.

Definition

Namespace: CapyKit.Helpers
Assembly: CapyKit (in CapyKit.dll) Version: 1.0.2

C#

private static bool CompareStrings(
	string first,
	string second
)

F#

private static member CompareStrings : 
        first : string * 
        second : string -> bool 

Parameters

  String
The first string.
  String
The second string.

Return Value

Boolean
true if the comparison succeeds, false if not.

Remarks

This method is a proxy for using Compare(String, Int32, String, Int32, Int32, StringComparison) with the StringComparison set to Ordinal.

See Also

Reference

SecurityHelper Class
CapyKit.Helpers Namespace