using System.Collections.Generic;
public static void Main()
string[] sentence = new string[] { "The quick brown", "fox jumps over", "the lazy dog." };
string[] result = sentence.Select(x => String.Join("#", x.Split(' ')))
foreach (var item in result)