I have little to no experience with C# but I am having some success making it do some useful stuff, one area which I am currently a bit frustrated with is producing debug output.
I’d like to be able to inspect objects and dump their structure and contents to the console.
Namely at present I am working with ITimeSheets.GetEquitySheet() which returns IEnumerable.
I like to perform a LINQ query on the result but I don’t know the element names/handle etc to use in a ‘where’ clause.
How can I inspect the structure of the returned Enumerable ? and moreover how do I send debugging output to the console ?
Cheers.