|
I'm probably doing something wrong but is there a way to reduce the angle brackets in such scenarios? I'm seeing methods that return a |
Answered by
vkhorikov
Apr 25, 2024
Replies: 1 comment
|
Normally, the answer is to introduce strong typing, e.g in stead of |
0 replies
Answer selected by
SLOPapa
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Normally, the answer is to introduce strong typing, e.g in stead of
Dictionary<string, List<string>>you may want to doMyEmployeeRegistryor something similar. So maybe wrap theList<something>into a record or a value object. It won't remove all the brackets, but it should reduce their number to a degree.