public static Guid ToGuid(int value) { byte[] bytes = new byte[16]; BitConverter.GetBytes(value).CopyTo(bytes, 0); return new Guid(bytes); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)