Interview Questions – C#

Question

C# Interview Questions #2

0

Collected from the Internet:

1.Does C# support multiple-inheritance? Ans. No! It may be achieved however, using interfaces. 2.Who is a protected class-level variable available to? Ans.It is available to any sub-class (a class inheriting this class). 3.Are private class-level variables inherited? Ans. Yes, but they are not accessible.  Although they are not visible or accessible via the class interface, they are inherited. 4.Describe the accessibility modifier "protected internal". Ans. It is available to classes that are within the same assembly and derived from the specified base class. 5.What’s More >

Question

C# Interview Questions #1

1

Collected from the Internet:

What does the modifier protected internal in C# mean? The Protected Internal can be accessed by Members of the Assembly or the inheriting class, and of course, within the class itself. In VB.NET, the equivalent of protected internal is protected friend. The access of this modifier is limited to the current assembly or the types derived from the defining class in the current assembly.

Can multiple data types be stored in System.Array? So whats an array all about? An array is a collection More >

Go to Top