����,��StringComparison...
����实�址���,
[SecuritySafeCritical]
internal static int IndexOfStringOrdinalIgnoreCase(string source, string 
value, int startIndex, int count)
{
    if ((source.Length == 0) && (value.Length == 0))
    {
        return 0;
    }
    int num = startIndex + count;
    int num2 = num - value.Length;
    while (startIndex <= num2)
    {
        if (CompareOrdinalIgnoreCaseEx(source, startIndex, value, 0, 
value.Length, value.Length) == 0)
        {
            return startIndex;
        }
        startIndex++;
    }
    return -1;
}

��要������CompareOrdinalIgnoreCaseEx,���������看����去��...
[SecurityCritical, DllImport("QCall", CharSet=CharSet.Unicode)]
private static extern int InternalCompareStringOrdinalIgnoreCase(string 
string1, int index1, string string2, int index2, int length1, int length2);
 
��知����啥DLL��...����,�����确之前�姆���要���鹿���一��string�占�效�屎懿�...
 
 �� �� roewee ( ����950) �拇������到: ��: 
�写���
: int i = "abCdeFGHijklmn".IndexOf("cDEFgh", StringComparison.OrdinalIgnoreCase)
: ;
: �� �� roewee �拇������到: ��
: : ��要��一���址��胁���某一���哟������懈��哟��蚍祷�true
: : String.Contains()�������圆����哟��������谴�小写���械�
: : ������源�小写�����械姆�式�����哟��兀�


--
��通���\魔����女����色�蕙����`���雪`��
����蕙����`���雪`���� 魔�h���榨����ルス�雪`����
魔��沙 ��������私? �������省�������巍���女������

�� ��源:����水思源 bbs.sjtu.edu.cn��[FROM: 207.46.55.30]