Question: 1. When user create an instance from a class, which of following is called first? Main method Constructor Instantiate Method Destructor 2. Enumeration is a

1. When user create an instance from a class, which of following is called first?

Main method
Constructor
Instantiate Method
Destructor

2. Enumeration is a set of constants, and all the integer types could be used for the enum type. If the type is left out, which type will be used by default?

uint
byte
long
int

3. Which of the following towards value type and reference type is FALSE?

Class is reference type, and struct is value type.
Both reference type and value type can be assign value of null.
String is reference type
Variable of value type is copied when passing through function.

4. Which of the following towards List class is FALSE?

List is a generic class.
The capacity of the List can be changed.
The Length property can be used to get the number of elements in the List.
The RemoveAt Method can be used to delete an element in a certain index in the List.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!