Enum methods. Enums can define methods, just like classes. This is a very powerful feature, especially in combination with the match operator:
確定! 回上一頁