MCQOPTIONS
Saved Bookmarks
| 1. |
If ListBox is class present in System.Windows.Forms namespace, then which of the following statements are the correct way to create an object of ListBox Class? using System.Windows.Forms; ListBox lb = new ListBox(); using LBControl = System.Windows.Forms; LBControl lb = new LBControl(); System.Windows.Forms.ListBox lb = new System.Windows.Forms.ListBox(); using LBControl lb = new System.Windows.Forms.ListBox; using LBControl = System.Windows.Forms.ListBox; LBControl lb = new LBControl(); |
| A. | 1, 3 |
| B. | 2, 4, 5 |
| C. | 1, 3, 5 |
| D. | 5 only |
| Answer» D. 5 only | |