AngelEyes on .Net

Tips, tricks and WTFs about Asp .Net, SQL Server and the likes.
posts - 54 , comments - 235 , trackbacks - 6

My Links

News

Tag Cloud

Article Categories

Archives

Image Galleries

3rd party

Official ASP .NET

Useful info

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")));

        }

Print | posted on Monday, October 4, 2010 11:31 AM |

Feedback

No comments posted yet.
Post A Comment
Title:
Name:
Email:
Comment:
Verification:
 

Powered by: