Why isn't there a culture enum?

前端 未结 4 1873
执笔经年
执笔经年 2021-02-20 18:20

Greetings,

I was wondering why there isn\'t a pre-set enum for cultures in C#? Since the cultures never change and are always like \"nl-NL, en-GB, en-US\".. why not make

4条回答
  •  太阳男子
    2021-02-20 19:03

    In addition to them changing, as suggested by others, you can create your own cultures and they would be conspicuously absent from the enum since you can't add items to it.

提交回复
热议问题