[Solved] Convert a Hex String to comma separated Hex String c#


    string temp = "aaff4455";
    string temp2 = "";
    int size = temp.Length;

    for (int i = 0; i < size; i += 2)
    {
        temp2 += temp.Substring(i, 2);
        if ((i+2) < size)
            temp2 += ",";
    }

5

solved Convert a Hex String to comma separated Hex String c#