what_standard_types_does_c_sharp_use

What Standard Types Does C# Use?

Return to C Sharp Topics | Topics

C Sharp | C supports a very similar range of basic types as C Plus Plus | C++, including int, long, float, double, char, string, arrays, structs and classes. However, don't assume too much. The names may be familiar, but many of the details are different. For example, a long is 64 bits in C#, whereas in C++ the size of a long depends on the platform (typically 32 bits on a 32-bit platform, 64 bits on a 64-bit platform). Also classes and structs are almost the same in C++ - this is not true for C#. Finally, chars and strings in .NET are 16-bit (Unicode/UTF-16), not 8-bit like C++.”

Fair Use Source: B07L7H6BFH

what_standard_types_does_c_sharp_use.txt · Last modified: 2025/02/01 06:22 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki