adplus-dvertising
frame-decoration

Question

If ListBox is the class of System.Windows.Forms namespace.Then,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: (d).All of the mentioned

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

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