有没有人知道一种声明与国际日期兼容的日期常量的方法?
我试过了:
' not international compatible
public const ADate as Date = #12/31/04#
' breaking change if you have an optional parameter that defaults to this value
' because it isnt constant.
public shared readonly ADate As New Date(12, 31, 04)
Run Code Online (Sandbox Code Playgroud)