PHP Print_r is useful to print out array and dictionary collection. is asp.net build in this function??
As others have said: you can use the debugger to get a better view if that is what you need. If you want to show the data in the html you can bind the object to a control, which is a much more powerful and flexible way to handle the output.