Tipalti Interview Question

Use reflection to print an object and list of objects c#