You need to write a method that combines an unknown number of strings. The solution must minimize the amount of memory used by the method when the method executes. What should you include in the code?
正解:B
Explanation/Reference: Explanation: The StringBuilder.Append method appends the string representation of a specified object to this instance. Incorrect Answers: A: String.Concat Method concatenates one or more instances of String, or the String representations of the values of one or more instances of Object. However, all strings to concatenate must be given as parameters. In this scenario we have an unknown number of string and therefore cannot pass them as paramaters. References: https://coders-corner.net/2014/08/20/concatenate-strings-in-c-operator-vs-string-concat-vs- stringbuilder/