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

Tài liệu Using Identifiers pdf

1 200 0
Tài liệu đã được kiểm tra trùng lặp

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

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Tiêu đề Using Identifiers
Định dạng
Số trang 1
Dung lượng 15,27 KB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

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

TỪ KHÓA LIÊN QUAN

w