Inspecting values using the debugger in C#
- by JC
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
}