Top 80+ Solved DotNet Technology MCQ Questions Answer

From 16 to 30 of 99

Q. Different ways a method can be overloaded in C#.NET?

a. Different parameter data types

b. Different number of parameters

c. Different order of parameters

d. All of the Above

  • d. All of the Above

Q. Can you store multiple data types in System.Array?

a. No

b. Yes

c. Both

d. None

  • a. No

Q. Can you inherit multiple interfaces?

a. Yes

b. No

c. Both

d. None

  • a. Yes

Q. What are the basic techniques for creating a control?

a. Inheriting from an existing control

b. Inherit from User Control

c. Inherit from Control

d. All of above

  • d. All of above

Q. Which of the following can`t be used in our .NET application?

a. .Net Assemblies

b. ActiveX Control

c. COM type libraries

d. All of the above can be used

  • d. All of the above can be used

Q. Which access modifiers are used in the concept of a property?

a. Get / set

b. Try / catch

c. Finally/throw

d. None of the above

  • a. Get / set

Q. Choose the form in which Postback occurs?

a. Html

b. Webforms

c. Windows

d. All of above

  • b. Webforms

Q. Web.config file is used?

a. Configures the time that the server-side code behind module is called

b. To store the global information and variable definitions for the application

c. To configure the web server

d. To configure the web browser

  • c. To configure the web server

Q. The first event triggers in an aspx page is?

a. Page_Init()

b. Page_Load()

c. Page_Click()

d. All of the above

  • a. Page_Init()

Q. What is used to validate complex string patterns like an e-mail address?

a. Required Field Validator

b. Range Validator

c. Regular Expression Validator

d. Custom Validator

  • c. Regular Expression Validator

Q. Which of the following statements is correct about constructors?

a. If we provide a one-argument constructor then the compiler still provides a zero-argument constructor.

b. Static constructors can use optional arguments.

c. Overloaded constructors cannot use optional arguments.

d. If we do not provide a constructor, then the compiler provides a zeroargument constructor.

  • d. If we do not provide a constructor, then the compiler provides a zeroargument constructor.

Q. How many times can a constructor be called during lifetime of the object?

a. As many times as we call it.

b. Only once.

c. Any number of times before the object gets garbage collected.

d. Any number of times before the object is delete

  • b. Only once.

Q. A property can be declared inside a class, struct, Interface.

a. True

b. False

c. none

d. all

  • a. True

Q. A property can be declared inside a namespace or a procedure.

a. True

b. False

c. none

d. all

  • b. False
Subscribe Now

Get All Updates & News