gpt4 book ai didi

c# - .NET GUID - 它是循环还是通过某种算法生成?

转载 作者:行者123 更新时间:2023-11-30 15:43:49 25 4
gpt4 key购买 nike

<分区>

Possible Duplicate:
Is a GUID unique 100% of the time?

基本上:

Guid.NewGuid() - 它是循环还是通过某种算法生成?

我想使用 Guid,因为它提供了 2^128 种可能性。根据MSDN :

The chance that the value of the new Guid will be all zeros or equal to any other Guid is very low.

问题是他们不说为什么它很低。它低是因为机会不大,还是因为它不太可能一路循环?

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com