© 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_8

8. Arithmetic

Gerard Byrne1  
(1)
Belfast, Ireland
 

Arithmetic Operations

We learned in Chapter 7 that variables can be “converted” from one numeric data type to another, which is referred to as casting, or from a string value to a numeric value, which is called parsing. Parsing uses methods from a wrapper class to convert the string data to a numeric data type value. These are important concepts and widely used in all programming languages by professional developers. As we develop our C# skills throughout the chapters, we will use these concepts, so it is worthwhile constantly reminding ourselves ...

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.