c# how to convert byte array to string code example Example: string from byte array c# var str = System.Text.Encoding.Default.GetString(result);