C H A P T E R 25
Other Topics
- Overview
- Strings
- The StringBuilder Class
- Parsing Strings to Data Values
- More About the Nullable Types
- Method Main
- Documentation Comments
- Nested Types
- Destructors and the Dispose Pattern
- Interoperating with COM
Overview
In this chapter, I’ll cover a number of other topics that are important in using C# but that don’t fit neatly into one of the other chapters. These include string handling, nullable types, the Main
method, documentation comments, and nested types.
Strings
Zeroes and ones are fine for internal computation, but for human-readable input and output, we need strings of characters. The BCL provides a number of classes that make string handling easy.
The C# predefined type string
represents the .NET ...
Get Illustrated C# 2012 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.