This topic shows how to convert a string into an array of bytes. This example uses the xref:System.Text.Encoding.GetBytes%2A method of the xref:System.Text.Encoding ...