Is it a good programming practice to pass List as a parameter in a Constructor?
Just learning....
Thank you ..

It isn't a good or a bad practice. It just depends on what your application is. Usually passing a List to a constructor would be fine...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.