This lesson is for subscribers
You've completed the free preview. Subscribe to unlock every lesson in every course.
Learn how ordinal() returns the enum constant's position in its declaration order, starting from zero.
You've completed the free preview. Subscribe to unlock every lesson in every course.