Inspecting values using the debugger in C#

Posted by JC on Stack Overflow See other posts from Stack Overflow or by JC
Published on 2010-04-14T17:57:31Z Indexed on 2010/04/14 18:03 UTC
Read the original article Hit count: 141

Filed under:
|

How do I inspect the return value of this GetItems() function using the debugger? Do I have to create a local variable for the results to accomplish this?

foreach (string item in GetItems())
{
    // some code
}

private List<string> GetItems()
{
    // return some list
}

© Stack Overflow or respective owner

Related posts about c#

Related posts about debugging