How to print duplicate characters in a String using C#?

Published --