© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
G. ByrneTarget C#https://doi.org/10.1007/978-1-4842-8619-7_6

6. Data Types

Gerard Byrne1  
(1)
Belfast, Ireland
 

Data Types, Variables, and Conversion

We learned in Chapter 5 that while we can use single- and multiple-line comments, they should not be a replacement for self-documenting code. Comments are added to help the reader of the code, but when the code is written expressively with proper namespace names, class names, variable names, etc., there is a limited need for comments. We should set an objective of zero need for comments.

In this chapter we will use code that is well documented for the purposes of helping us understand and read the code. It is not ...

Get Target C#: Simple Hands-On Programming with Visual Studio 2022 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.