Use of strings for pinMode argument

pst51:
In the swithCase2 example, the pin are consecutive

How do you know that, exactly? You can't tell if the values are consecutive by just looking at the names.