Tài liệu Using Identifiers pdf

1 198 0
Tài liệu Using Identifiers pdf

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

Thông tin tài liệu

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

Tài liệu cùng người dùng

  • Đang cập nhật ...

Tài liệu liên quan