CapyKit/Documentation/Help/M_CapyKit_Helpers_SecurityHelper_CompareStrings.md
Jordan Wages 87bd044b31 Settings Helper + Documentation
The `SettingsHelper` is an agnostic way to access settings values uniformly through code. The accessor methods are controlled by the consumer.

Documentation has been a bit wonky. I changed the max number of version number components allowed, so each new build should not create new changes on every single bit of documentation now.
2024-04-22 18:28:21 -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.0

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