title: Hex number (not ASCII hex value) to string in VB.NET
body: <p>I've tried searching for this, but most people just want to convert hex values into their ASCII equivalents. That's not what I am looking to do.</p>
  
  <p>I'm looking to see if VB.NET has a simple built-in function to do this:</p>
  
  <pre><code>    Private Function NibbleToString(ByVal Nibble As Byte) As String
      Dim retval As String = String.Empty
      Select Case Nibble
  
          Case &amp;H0
              retval = "0"
          Case &amp;H1
              retval = "1"
          Case &amp;H2
              retval = "2"
          Case &amp;H3
              retval = "3"
          Case &amp;H4
              retval = "4"
          Case &amp;H5
              retval = "5"
          Case &amp;H6
              retval = "6"
          Case &amp;H7
              retval = "7"
          Case &amp;H8
              retval = "8"
          Case &amp;H9
              retval = "9"
          Case &amp;HA
              retval = "A"
          Case &amp;HB
              retval = "B"
          Case &amp;HC
              retval = "C"
          Case &amp;HD
              retval = "D"
          Case &amp;HE
              retval = "E"
          Case &amp;HF
              retval = "F"
      End Select
  
      Return retval
  End Function
  </code></pre>
  
  <p>Is there a more elegant way to accomplish the same thing as that code?</p>