Changing the order of a string based on an array of numbers in C#
<p>Thanks for the help with my question about making an array of booleans into a string. The code is now working good. Now I have another problem. Maybe somebody would like to try. I think I could come up with a solution but if so I'm 99 percent sure that it would be not so simple as the answers I have seen from people here. </p>

<p>What I have is the string "ABD" from my question <a href="http://stackoverflow.com/questions/5891035/converting-a-boolean-array-into-a-string-using-c">here</a>. I also have an array of integers. For example <code>[0] = 2, [1] = 3 and [2] = 1.</code>   I would like to find a way to apply this to my string to reorder the string so that the string changes to BDA.</p>

<p>Can anyone think of a simple way to do this?</p>
