how to convert byte[100] to guid
问题 I am receiving a service response which is byte[100] how can i convert it to a guid ? byte[] response = wc.UploadValues(url, "POST", nvc); string Guid = new Guid(response).ToString(); Response.Write(Guid); 回答1: There is a Guid constructor which allows you to initialize a Guid from a 16-element byte array. So you will have to first extract the 16 elements from your 100 elements array into a new one and then initialize the Guid. Which 16 elements to extract from your 100 elements array would of