Skip to content
Discussion options

You must be logged in to vote

Normally, the answer is to introduce strong typing, e.g in stead of Dictionary<string, List<string>> you may want to do MyEmployeeRegistry or something similar. So maybe wrap the List<something> into a record or a value object. It won't remove all the brackets, but it should reduce their number to a degree.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by SLOPapa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants