日期:2011-06-27 浏览次数:20433 次
c#获取GUIDusing System;
using System.Collections.Generic;
using System.Text;
namespace TestGetGUID
...{
class Program
...{
static void Main(string[] args)
...{
CreatGuid();
}
private static void CreatGuid()
...{
Console.WriteLine("GUID:" + Guid.NewGuid().ToString());
Console.ReadLine();
}
}
}