If an user-defined class have a user-defined event then, the class object is declared as

A. Dim c as new ClassName

B. Dim withEvents c as new ClassName

C. Dim c as ClassName

D. Dim withEvents c as ClassName

Please do not use chat terms. Example: avoid using "grt" instead of "great".

You can do it
  1. Only derived class can have shadows keyword
  2. A single LinkLabel can support multiple links
  3. A Windows Service if installed cannot be uninstalled
  4. A thread can be started only once
  5. A function can have multiple return statements
  6. A Class can inherit both Class and Interface at a time
  7. The Apply button automatically appears of the Font Dialog Box is opened
  8. A TreeView can have multiple root nodes
  9. FolderBrowserDialog displays
  10. Using MyBase you can call base class
  11. To make a button the default button, this property of the form must be set
  12. If Option Explicit is on then Dim i as Integer="10" will produce an error
  13. InputBox by default returns ________ values
  14. While handling keystrokes if e.Handled=True is set then Visual Basic
  15. VB.NET supports Multi Level Inheritance
  16. DomainUpDown control is used only for strings and NumericUpDown for numbers.
  17. If a form call another form and the caller form is closed through code, then both forms are disposed
  18. A form can have only one default button
  19. The default location of the exe file of your solution is
  20. To get details about an error use
  21. To override Finalize function the scope of the function must be
  22. This view is not present in VB.NET
  23. Data from DataSet is accessed using34
  24. _________ and _____________ combines to make a KeyPress event
  25. If a Class in inherited, its constructor is inherited automatically and it is fired automatically
  26. Class ccpublic _________ I as stringend classButton1_Clickcc.I=100
  27. Images can be loaded from
  28. To add items stored in an array to a ListView use
  29. Application.StartupPath actually points to
  30. A DataSet can be updated only when the connection is open