Write a String manipulation program [Answered] - C#