Skip to content

Instantly share code, notes, and snippets.

@callmephil
Created December 7, 2017 23:24
Show Gist options
  • Save callmephil/1356ba0adc95364a797f37459ec49562 to your computer and use it in GitHub Desktop.
Save callmephil/1356ba0adc95364a797f37459ec49562 to your computer and use it in GitHub Desktop.
test
item/texturecomponents/torsouppertexture/leather_draenorquest95_b_01_chest_tu_f.blp
item/texturecomponents/torsouppertexture/leather_draenorquest95_b_01_chest_tu_m.blp
item/texturecomponents/torsolowertexture/leather_draenorquest95_b_01bronze_belt_tl_u.blp
item/texturecomponents/torsouppertexture/leather_legionquest100_b_01_brown_chest_tu_m_dhu.blp
item/texturecomponents/torsolowertexture/leather_legionquest100_b_01_brown_chest_tl_f_dhu.blp
item/objectcomponents/head/helm_cloth_raidwarlock_q_01_pam.m2
item/objectcomponents/head/helm_cloth_raidwarlock_q_01_scf.m2
item/objectcomponents/head/helm_cloth_raidwarlock_q_01_scm.m2
item/objectcomponents/head/helm_cloth_raidwarlock_q_01_taf.m2
item/objectcomponents/head/helm_cloth_raidwarlock_q_01_tam.m2
item/objectcomponents/head/helm_cloth_raidwarlock_q_01_trf.m2
item/objectcomponents/head/helm_cloth_raidwarlock_q_01_trm.m2
item/objectcomponents/head/helm_cloth_raidwarlock_q_01_wof.m2
item/objectcomponents/head/helm_cloth_raidwarlock_q_01_wom.m2
@callmephil
Copy link
Author

    public static string ReverseXor(string s)
    {
        char[] charArray = s.ToCharArray();
        int len = s.Length - 1;

        for (int i = 0; i < len; i++, len--)
        {
            charArray[i] ^= charArray[len];
            charArray[len] ^= charArray[i];
            charArray[i] ^= charArray[len];
        }

        return new string(charArray);
    }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment