string woord, resultaat = ""; Console.Write("Geef een woord: "); woord = Console.ReadLine(); for (int i = 0; i < woord.Length; i++) { resultaat += woord.Substring(i, 1); if (i != woord.Length - 1) resultaat += "-"; } Console.WriteLine("Het nieuwe woord is " + resultaat);