PHP has a function called print_r() and var_dump() that will display all the contents of an item. It makes it very easy to figure out what things are.
Is there something like that in C#?
I know there is a Console.WriteLine("Hello");
in C#, but does this work in the MVC? Can I do some type of debug.trace()
like flash does into a debug console while I run the application?