GetBytesExt

Опубликовано: 21 Май 2026
на канале: ExtensionsDotNet
4
0

ExtensionsDotNet makes working in .NET more productive by providing simple extension methods to perform common tasks.

The GetBytes extension converts a char array into a byte array. This sample also uses ToStringExt to convert the arrays into a comma separated string and ToConsoleWriteExt to write the string to the console.

The ExtensionsDotNet library can be can be installed using NUGET or cloned from GitHub.

https://www.nuget.org/packages/Extens...
https://github.com/adyle5/ExtensionsD...
https://github.com/adyle5/ExtensionsD...