2013年5月28日 星期二

C# Fundation, Part 3 (Enumerations)

1. Default start from 0

2. Can assign the number manually

3. Increase by 1 for next member

4. In following example, Salaried = 2, Executive = 3, Hourly = 4.

5. If we say Executive = 22 manually, then Hourly will become 23

image

沒有留言:

張貼留言