Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
How can I generate a array with all the Months of the year in F#?
I've tried:
let array = [|"January", "February", ... |]
Is there a simply way to make it?
为什么不直接使用DateTimeFormatInfo.MonthNames?
DateTimeFormatInfo.MonthNames
获取或设置一个 String 类型的一维数组,其中包含特定于区域性的月份全名。
请注意,它是特定于文化的,但......