C # Notes (16)--bytes of the base data type

Source: Internet
Author: User

Https://msdn.microsoft.com/zh-cn/library/618ayhy6.aspx1.int Type 4-byte 32-bit integer uint unsigned integer unsigned2. Single-precision floating-point number (float) 4 bytes followed by F, for example: 23.5F,23F3. Double-precision floating-point number (double) 8 bytes followed by D is also not added, for example: 23.5,14.7d4.128 bit high precision floating point number (Decima) 16-byte suffix m, For example: 15.67m, its value range above the two floating-point types are small, but the highest precision. 5. Character type (char) 2 bytes, enclosed in single quotation marks, such as ' 0 ' 6. String consisting of 0, 1, or more than 2 characters and enclosed in double quotation marks, "0", "1", "Lisi" 7. Boolean type (bool), value can only be true or false Arrays, enumerations, structs

C # Notes (16)--bytes of the base data type

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.