How can I use Linq query methods to convert an array of string to a sentence?
private static void Main()
{
string sentence = "C# is fun.";
string[] words = sentence.Split();
//string temp= words;
}
The temp wants to have the same value as sentence.
String.Joinis a better option here. Don't use LINQ just to use LINQ.