📜  c# 设置 guid - C# 代码示例

📅  最后修改于: 2022-03-11 14:48:44.096000             🧑  作者: Mango

代码示例1
// If you already have a string representation of the Guid, you can do this:

Guid g = new Guid("11223344-5566-7788-99AA-BBCCDDEEFF00");

// And if you want a brand new Guid then just do

Guid g = Guid.NewGuid();