Example #1
0
    public static int Compare(BaseCharacter x, BaseCharacter y)
    {
        int result = 1;

        if (x != null && x is BaseCharacter &&
            y != null && y is BaseCharacter)
        {
            result = x.CompareTo(y);
        }
        return(result);
    }