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.
Is there an equivalent of C#'s TimeSpan in the Bond type system? If not, how can I interoperate between TimeSpan and a field in a Bond struct?
TimeSpan
C# 没有内置类型TimeSpan,但您可以使用自定义类型映射来实现相同的结果。请参阅此官方示例 DateTime。