Csharp.NET 3 online test, online practice test, exam, quiz

Csharp.NET 3 Online Test

The purpose of this online test is to help you evaluate your Csharp.NET 3 knowledge yourself. These Multiple Choice Questions (MCQs) on Csharp.NET 3 will prepare you for technical round of job interview, written test and many certification exams.

The test contains 20 questions and there is no time limit. You will get 1 point for each correct answer. You will get your online test score after finishing the complete test.
(Total 20 questions)        (Time spent 0:0)

1. You are creating a Windows Forms application by using the .NET Framework 3.5. You create a new form in the application. You add a ContextMenuStrip control named ctxMenu to the form. You have a user-defined class named CustomControl. You write the following code segment in the application. (Line numbers are included for reference only.) CustomControl myControl = new CustomControl(); You need to ensure that an instance of CustomControl is displayed on the form as a top-level item of the ctxMenu control. What line of code should you write to do so?




   View Test Answer
Advertisement