ASP.NET ,equivalent to PHP Print_r Function?

前端 未结 6 1849
忘了有多久
忘了有多久 2021-01-14 17:50

PHP Print_r is useful to print out array and dictionary collection. is asp.net build in this function??

6条回答
  •  孤街浪徒
    2021-01-14 18:33

    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.

提交回复
热议问题