Want to do a simple bit of code that will help me debug some custom classes I'm building, but I can't figure out how to do it.

All I want to do is console.writeline every property in a class... something like:

Code:
dim prop as Property
dim myclass as new myclassname

for each prop in myclass 
  console.writeline prop.name
  console.writeline prop.value
next
Spent two hours searching so far, just easier to ask. Thanks.