PHP Print_r is useful to print out array and dictionary collection. is asp.net build in this function??
Looking at variable contents is what the debugger in Visual Studio is good for (and good at). Printing out a textual representation of a complex object is rather a crutch in comparison.
There's no such function in the framework base class library. If it is for debugging purposes you could set brake points in the code and analyze the values in your collection. If it is for printing it on the screen you could override the ToString method for each object. Yet another option would be to serialize the array to XML if this format is acceptable.
What you are looking for is called "pretty printing". Google ".NET pprint" you might have some luck.
But really, use the debugger.
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.