Answer the question
In order to leave comments, you need to log in
How to create a method in C# that can take both ListBox and ComboBox as an argument?
I have a piece of code that gets a value from a database table, I need to display these values in a listBox and comboBox. I can write this code 2 times for listBox and comboBox separately, but I would like to keep it simple.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question