Vidyalelo
C# Programming · Q135

Miscellaneous in C Sharp

Programming · C# Programming · question 135

Q135

If ListBox is the class of System.Windows.Forms namespace. Then, the correct way to create an object of ListBox class is?

A.
using System.Windows.Forms;
ListBox I = new ListBox();
B.
System.Windows.Forms.ListBox I = new
System.Windows.Forms.ListBox();
C.
using LBControl I = new System.Windows.Forms.ListBox;
D.
All of the mentioned
Answer

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board