Question: Please help with these C# questions I will thumbs up in rating !!! 1) Given the following line of C# code: List list = new

Please help with these C# questions

I will thumbs up in rating !!!

1) Given the following line of C# code:

List list = new List();

appears in the line above. What is the language feature represents called?

A) casting B) forced typing C) generics D) optionals

2) Which of the following is correct about nullable types in C#?

A) C# provides a special data types, the nullable types, to which you can assign normal range of values as well as null values. B) You can assign true, false, or null in a Nullable variable. C) You can store any value from -2,147,483,648 to 2,147,483,647 or null in a Nullable variable. D) All of the above

3) Which of the following is the correct about static member variables of a class?

A) We can define class members variables as static using the static keyword. B) When we declare a member of a class as static, it means no matter how many objects of the class are created, there is only one copy of the static member. C) All of the above D) None of the above

4) Which statement is true about C# exceptions?

A) C# exception occurs at compile time. B) C# exception occurs at linking time. C) C# exception occurs at JIT compile time. D) C# exception occurs at run time.

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!