【发布时间】:2015-11-27 09:18:20
【问题描述】:
我有像"e2ddfa02610e48e983824b23ac955632" 这样的字符串类型值。我需要添加 - 在这段代码中意味着在 Guid 中转换。
EntityKey = "e2ddfa02610e48e983824b23ac955632";
Id = (Guid)paymentRecord.EntityKey;
【问题讨论】:
-
是哪一个? C# 还是 C++(CLI)?