C#.NET Multiple choices


Total available count: 28
Subject - Microsoft Technologies
Subsubject - C#.NET

Which of the following access modifier added in C# 7.2?


 

 

 

 



C


Solution:-

C# 7.2 introduces a new access modifier – protected private.

The private protected keyword combination is a member access modifier. A private protected member is accessible by types derived from the containing class, but only within its containing assembly. For a comparison of private protected with the other access modifiers, see Accessibility Levels. The private protected access modifier is valid in C# version 7.2




Next 5 multiple choice(s)

1

Which of the following keyword is quite opposite to sealed?

2

Which of the following notation is incorrect?

3

What is the difference between long and double?

4

Which of the following is not a built-in reference type?

5

What is the difference between uint and int?

Comments