C# guid

 

GUID

生成guid

using System;

namespace _42_GUID
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("Hello World!");
            Guid.NewGuid();
            string id = Guid.NewGuid().ToString();
            Console.WriteLine(id);

        }
    }
}

 

posted @ 2021-10-20 17:08  陨落&新生  阅读(74)  评论(0编辑  收藏  举报