Relative Content

Tag Archive for c#csvhelper

How to map a nested class by CsvHelper?

class A { public C MyC; public int OtherStuff; } class B { public C MyC1; public C MyC2; } class C { public int WeirdInt; public string WeirdString; } I want to create a rule for C to map. When I try to convert List<A> or List<B> to csv, it use this rule to […]