+ 1

What is it mean in c#

what he did here C# private FilterInfoCollection webcame; private VideoCaptureDevice came; private void Form1_Load(object sender, EventArgs e) { webcame = new FilterInfoCollection(FilterCategory.VideoInputDevice); foreach (FilterInfo VideoCaptureDevice in webcame) { comboBox1.Items.Add(VideoCaptureDevice.Name);

31st May 2017, 4:30 PM
ALAMOUDI, WAEL MAKKI S
ALAMOUDI, WAEL MAKKI S - avatar
3 Answers
+ 3
I'm not famliar with this library being used but it appears the programmer is trying to populate a list of some sort (maybe a dropdown box) with all available web cams / video inputs
31st May 2017, 4:37 PM
Sean Patrick Franklin
Sean Patrick Franklin - avatar
+ 2
comboBox1 is being populated in the foreach loop by the items in the collection assigned to 'webcame' I'm not a c# programmer so I couldnt tell you the context to this code.
31st May 2017, 6:23 PM
Sean Patrick Franklin
Sean Patrick Franklin - avatar
0
is it mean instance or what
31st May 2017, 4:39 PM
ALAMOUDI, WAEL MAKKI S
ALAMOUDI, WAEL MAKKI S - avatar