#### [Abblix\.Utils](https://www.abblix.com/en/docs/api/abblix-utils 'index')
### [Abblix\.Utils](https://www.abblix.com/en/docs/api/abblix-utils/Abblix.Utils 'Abblix\.Utils')

## HexConverter Class

Provides a static method for converting a byte array to its hexadecimal string representation\.

```csharp
public static class HexConverter
```

Inheritance [System\.Object](https://learn.microsoft.com/en-us/dotnet/api/system.object 'System\.Object') → HexConverter
### Methods

## HexConverter\.ToHexString\(this byte\[\]\) Method {#Abblix.Utils.HexConverter.ToHexString(thisbyte[])}

Converts a byte array to a hexadecimal string representation\.

```csharp
public static string ToHexString(this byte[] bytes);
```
#### Parameters

###### `bytes` [System\.Byte](https://learn.microsoft.com/en-us/dotnet/api/system.byte 'System\.Byte')[\[\]](https://learn.microsoft.com/en-us/dotnet/api/system.array 'System\.Array') {#Abblix.Utils.HexConverter.ToHexString(thisbyte[]).bytes}

The byte array to convert\.

#### Returns
[System\.String](https://learn.microsoft.com/en-us/dotnet/api/system.string 'System\.String')  
A string representing the hexadecimal representation of the byte array\.
