I have the below string array.
string[] sentence = new string[] { "The quick brown", "fox jumps over", "the lazy dog." };
I want to split it with " " and rejoin with #. This is for learning linq in c#. I know i can easily manage this with replace and other built in features. But i am trying in this way.
var sentenceresult = sentence.Select(c => c.Split(' '))
but how to apply "#" for each item?
""but in your code you are spliting by' '.