# Better way to format and make it more readable [closed]

Based on this answer, I hope I am on-topic here.

I have the following function call in my project:

return InteropServices.MarshalResponse<TResponse, __GenericSingleResponse, TMarshaledClass>(interopResponse, interopResponse.RequestData, this.RequestDataType);


As you can see, it is way too long to be well-readable and so I am hoping for ways to make it more readable (e.g where to break, after every type parameter?).

If it wasn't for the type parameters, I would break it like this

return InteropServices.MarshalResponse(interopResponse,
interopResponse.RequestData,
this.RequestDataType);


but I'm confused about how to break the type parameters.

One way to make it more readable is of course to rethink the InteropServices.MarshalResponse signature, but I would rather not like to do that, because it would be very difficult.

• It's hard to be on topic with a single like of code... – t3chb0t Mar 23 '18 at 9:51