If I have this class...
VB Code:
  1. Public Class Class 1
  2.  
  3.     dim mText as String
  4.  
  5.     Public Function ToString() As String
  6.         ToString = mText.ToUpper
  7.     End Function
  8.  
  9. End Class

... what do I have to do to be able to use it like this ...
VB Code:
  1. Dim c as Class1
  2.     c = "Potato"
  3.     Debug.WriteLine(c.ToString)