Geeks With Blogs

AngelEyes on .Net Tips, tricks and WTFs about Asp .Net, SQL Server and the likes.

        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 | Back to top

Comments on this post: A quick (and elegant, IMHO) way to convert a byte array to hexadecimal string

No comments posted yet.
Your comment:
 (will show your gravatar)

Copyright © AngelEyes | Powered by: