using System; public sealed class App // Append three characters (D, E, and F) to the end of the StringBuilder. // Append a format string to the end of the StringBuilder. // Display the number of characters in the StringBuilder and its string. // Insert a string at the beginning of the StringBuilder. // Replace all lowercase k's with uppercase K's. // Display the number of characters in the StringBuilder and its string. // This code produces the following output. |
|
來自: 悟靜 > 《.net和asp.net》