Вы можете помочь мне понять,
words.Aggregate((workingSentence, next) => + next + " " + workingSentence);
сниппет кода? и было бы замечательно, если бы кто-нибудь объяснил мне, как добиться этого на C # 1.1.
(фрагмент из MS ) -
string sentence = "the quick brown fox jumps over the lazy dog";
// Split the string into individual words.
string[] words = sentence.Split(' ');
// Prepend each word to the beginning of the
// new sentence to reverse the word order.
string reversed = words.Aggregate((workingSentence, next) =>
next + " " + workingSentence);
Console.WriteLine(reversed);
// This code produces the following output:
//
// dog lazy the over jumps fox brown quick the