I wanted to check on something, i have the idea that classes should never be coupled i.e. depend on another class etc..
i.e. should never create a class with a method where you pass in another class for example... as if this changes... that it can cause a ripple effect on all classes... this i understand...
Does this also go for passing in things like listboxes etc? I presume it does, it that case if i need to populate a listbox and 1 of my classes knows how to do this... what is the best/correct way of doing this..
returning a hashtable or something and filling it in code ?????
Any comments really appreciated...
Thanks in advance