L. P. with Microsoft C# - Level 2-Quiz-2

  1. Two bytes are used to encode a single character in the Unicode format.
  2. When you are creating strings, there are escape characters to put non-printable characters into the string, such as tabs and new lines. \n is the escape character for a new line.
  3. What happens if you try to concatenate additional string information onto the end of an existing string?
    The old object is destroyed and a new string is created.
  4. You have an object from which you want to extract a string representation. ToString method you would use to do this.
  5. You want to use a string method to create a new string from one or more other strings. Concat method you would use to do this.
  6. You want to remove unwanted specified characters from the start and end of a string. Trim string method you would  use to do this.
  7. The StringBuilder class is mutable, unlike the string class is immutable. You can use .ToString to pull the string out of the StringBuilder.
Permalink | Comments (0) | Hits: 1101 | Time: 15:14:31
Learning Programming with Microsoft C# - Level 2-2.4
Learning Programming with Microsoft C# - Level 2-3.1
All Comments

 No Data Now...

Post Your Comment
^ ^

Top