Geeks With Blogs

AngelEyes on .Net Tips, tricks and WTFs about Asp .Net, SQL Server and the likes. October 2010 Entries
A quick (and elegant, IMHO) way to convert a byte array to hexadecimal string
public static string ByteArrayToString(byte[] bytes) { return String.Join(string.Empty, Array.ConvertAll(bytes, x => x.ToString("X2"))); } ......

Posted On Monday, October 4, 2010 11:31 AM

Copyright © AngelEyes | Powered by: