Is there a GUID.TryParse() in .NET 3.5?

后端 未结 7 1644
遇见更好的自我
遇见更好的自我 2021-01-07 16:25

UPDATE

Guid.TryParse is available in .NET 4.0

END UPDATE

Obviously there is no public GUID.TryParse() in .NET CLR

7条回答
  •  日久生厌
    2021-01-07 16:29

    In terms of why there isn't one, it's an oversight. There will be a Guid.TryParse in .NET 4 (see BCL blog post for details).

提交回复
热议问题