I have a form whose constructor I've overloaded to pass in an enumerated type and a List<int>
.
Now I realize I also need to pass in another int
(that doesn't belong in the List<int>
).
At what point is it considered "good form" (no pun intended) to regroup and refactor and encapsulate all those parameters into a class and pass that?
Or is there a better way (that doesn't require Houdini-esque sleight of hand)?