使用原始类型成员的最佳实践

And*_*hin 1 .net c#

我该怎么写:long.MaxValue或者Int64.MaxValue

微软有标准吗?

Ang*_*ker 8

long.MaxValue
Run Code Online (Sandbox Code Playgroud)

因为你是用c#编码的.

Int64.MaxValue是一种.NET类型.