June 2006
Intermediate to advanced
1344 pages
42h 52m
English
Class StringBuilder provides 19 overloaded Append methods for appending values of various types to the end of a StringBuilder’s contents. There are versions of this method for each of the primitive types and for character arrays, Strings and Objects. Remember that method ToString produces a String representation of any Object, so any Object’s string representation can be appended to a StringBuilder. Each of the methods takes an argument, converts it to a String and appends it to the StringBuilder. Figure 16.11 demonstrates several Append methods.
1 ' Fig. 16.11: StringBuilderAppend.vb 2 ' Demonstrating StringBuilder Append methods. |
Read now
Unlock full access