Variable names and type names

The rules for variable names are as follows:
  • A variable name can contain only alphanumeric characters (a-z, A-Z, 0-9), underscore (_), or hyphen (-).
  • Case is significant (for example, strTmp and strtmp are two different names).
  • A variable name cannot be the same as the short name or the fully qualified class name of an imported type.
The rules for type names are as follows:
  • A type name can contain only the alphanumeric characters, underscore (_), hyphen (-), or period (.).
  • Case is significant.