Join 34,000+ subscribers and receive articles from our blog about software quality, testing, QA and security.

List<Class> to CSV


I have statistics from various calculations that I am storing in a class I created. Is it possible to dump a list of that class to a csv? I am using csvhelper for this now, but would change if I go to SmartInspect for logging.


Hi Rick!

Thanks for your posting. There are various array/list related logging methods such as LogEnumerable or LogCollection which might do the trick in this case. They list the items in a list view control in the Console (one row per item).