© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
V. SarcarTest Your Skills in C# Programming https://doi.org/10.1007/978-1-4842-8655-5_2

2. Strings and Arrays

Vaskaran Sarcar1  
(1)
Garia, Kolkata, West Bengal, India
 

In C# programming, you have various data types. For example, to store integers with various ranges, you can use the integral types (int, short, long, byte, sbyte, uint, ushort, ulong, and char). Similarly, you have floating-point types (float, double, and decimal) to store floating-point numbers. These types support different levels of precision and range. You also have bool type to store true or false values, as well as the string data type to store text. There are also custom data types, which ...

Get Test Your Skills in C# Programming: Review and Analyze Important Features of C# 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.