Summary

Data is stored in variables and constants. There are seven kinds of variables: static variables, instance variables, array elements, value parameters, reference parameters, output parameters and local variables. Types determine the kind of data that can be stored in these variables and constants. Types can be classified as value, reference, and pointer types. Value types are further divided into integral, char, bool, floating point, decimal, struct, and enum types. The various integral types are int, uint, byte, sbyte, long, ulong, short, and ushort. Floating point types can be further classified as float and double types. Reference types consist of object, class, interface, delegate, string, and array types.

C# supports the conversion ...

Get Special Edition Using 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.