Examveda

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: Option D


This Question Belongs to C Sharp Programming >> Miscellaneous In C Sharp

Join The Discussion

Related Questions on Miscellaneous in C Sharp