Was this page helpful?

GetHashCodeInvariant Extension Method

    GetHashCodeInvariant(this string text, bool ignoreCase)

    public static int GetHashCodeInvariant(this string text, bool ignoreCase);
    Get Hashcode for a string using the invariant comparer.

    Parameters

    Name Type Description
    text string Text to examine.
    ignoreCase bool True if case should not be considered in comparison.

    Returns

    Type: int
    Hashcode for the input string.

    GetHashCodeInvariant(this string text)

    public static int GetHashCodeInvariant(this string text);
    Get Hashcode for a string using the invariant comparer.

    Parameters

    Name Type Description
    text string Text to examine.

    Returns

    Type: int
    Hashcode for the input string.
    Was this page helpful?
    Tag page
    You must login to post a comment.

    Copyright © 2011 MindTouch, Inc. Powered by