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
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
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
Get step-by-step solutions from verified subject matter experts
