why does the 0x00 character make System.Diagnostics.Debug.WriteLine not write a new line?
    

    Dim hex = "41"
        Dim text As New System.Text.StringBuilder
        For i As Integer = 0 To hex.Length - 2 Step 2
            text.Append(Chr(Convert.ToByte(hex.Substring(i, 2), 16)))
        Next
        System.Diagnostics.Debug.WriteLine(text.ToString)

working perfectly.. System.Diagnostics.Debug.WriteLine writes the output itself in a new line.

     Dim hex = "4100"
        Dim text As New System.Text.StringBuilder
        For i As Integer = 0 To hex.Length - 2 Step 2
            text.Append(Chr(Convert.ToByte(hex.Substring(i, 2), 16)))
        Next
        System.Diagnostics.Debug.WriteLine(text.ToString)

but yet this fails.. (the output isn't itself in a new line) what's the explanation for that?
why does the 0x00 character make System.Diagnostics.Debug.WriteLine not write a new line?
===

    

    Dim hex = "41"
        Dim text As New System.Text.StringBuilder
        For i As Integer = 0 To hex.Length - 2 Step 2
            text.Append(Chr(Convert.ToByte(hex.Substring(i, 2), 16)))
        Next
        System.Diagnostics.Debug.WriteLine(text.ToString)

working perfectly.. System.Diagnostics.Debug.WriteLine writes the output itself in a new line.

     Dim hex = "4100"
        Dim text As New System.Text.StringBuilder
        For i As Integer = 0 To hex.Length - 2 Step 2
            text.Append(Chr(Convert.ToByte(hex.Substring(i, 2), 16)))
        Next
        System.Diagnostics.Debug.WriteLine(text.ToString)

but yet this fails.. (the output isn't itself in a new line) what's the explanation for that?