C# Class CommonLib.Utility.StringUtil

Show file Open project: jprichardson/CommonLib

Public Methods

Method Description
ByteArrayToHexString ( byte bytes ) : string
HexStringToByteArray ( string hex ) : byte[]
ToCsv ( ) : string
XElementToString ( System.Xml.Linq.XElement xml ) : string

Method Details

ByteArrayToHexString() public static method

public static ByteArrayToHexString ( byte bytes ) : string
bytes byte
return string

HexStringToByteArray() public static method

public static HexStringToByteArray ( string hex ) : byte[]
hex string
return byte[]

ToCsv() public static method

public static ToCsv ( ) : string
return string

XElementToString() public static method

public static XElementToString ( System.Xml.Linq.XElement xml ) : string
xml System.Xml.Linq.XElement
return string