1. Trang chủ
  2. » Công Nghệ Thông Tin

Tài liệu Using Identifiers pdf

1 198 0

Đang tải... (xem toàn văn)

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 1
Dung lượng 15,27 KB

Nội dung

Using Identifiers Identifiers are the names you use to identify the elements in your programs. In C#, you must adhere to the following syntax rules when choosing identifiers: • You can use only letters (uppercase and lowercase), digits, and underscore characters. • An identifier must start with a letter (an underscore is considered a letter). For example, result, _score, footballTeam, and plan9 are all valid identifiers, whereas result%, footballTeam$, and 9plan are not. IMPORTANT C# is a case-sensitive language: footballTeam and FootballTeam are not the same identifier. . Using Identifiers Identifiers are the names you use to identify the elements in your. programs. In C#, you must adhere to the following syntax rules when choosing identifiers: • You can use only letters (uppercase and lowercase), digits,

Ngày đăng: 21/01/2014, 15:20

w