Is there a debug.print in CSharp?

Tech-Archive recommends: Speed Up your PC by fixing your registry



VB had a neat object called "Debug". You could use "Debug.Print()" in
your code, and you could get useful debugging information in the
immediate window. Is there something like this in CSharp?

Dom

.