Visual Studio 2012

Source: Internet
Author: User

Open Visual Studio 2012-file-project-Windows-Console Application

How to Add fonts and colors: Tools-options-environment-fonts and colors

How to add a row number: tool-Option-Text Editor-all languages-row number

CTRL + X: cut a row and move the cursor down a row automatically

CTRL + V: paste a row and move the cursor down one row automatically

 

Predefined Data Types

I. Value Type

Integer

Signed and unsigned integers. The difference is that the unsigned integer is larger than the positive number range of the signed integer. 2x + 1

Signed integer: sbyte, short, Int. Long has a positive number, and the range increases in sequence by writing.

Unsigned integer: byte, ushort uint, ulong only has positive numbers, and the range also increases in turn

 

Floating Point Type

Float:

Double:

Decimal:

 

Character Type: (UNICODE type)

Charl = 'Hello world! ';

String type

String is equivalent to the concept of character type and has a long length. Double quotation marks are required for definition.

 

 

Bool type: generally used for determining

(True, false)

 

Date and Time type:

Datetime

 

Enumeration type:

User-Defined type in the form of Enum E (...)

 

Structure Type:

User-Defined type in the form of struct (...) Values

 

Ii. Reference Type

String type

String is equivalent to the concept of character type and has a long length. Double quotation marks are required for definition.

Class type:

All other types of final base classes of the object

Class C (...) User-Defined type in the form of code

Interface Type

Interfacei (.....)

Array type:

One-dimension and multi-dimensional arrays, such as int [] and INT [,]

 

 

 

Visual Studio 2012

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.