.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Interview Question >> .NET Framework >> Post New Question Subscribe to Interview Questions

Define Protected internal.

Posted By :Narayanan     Posted Date :January 10, 2012    Points :40   Category :.NET Framework 
It is available to derived classes and classes within the same Assembly.

You can also find related Interview Question to Define Protected internal.  below: 

Describe the accessibility modifier protected internal.

  
It's available to derived classes and classes within the same Assembly. (More...)

If a method is marked as protected internal who can access it?

  
Access is limited to the current assembly or types derived from the containing class (More...)

What is the scope of the access modifier Protected Internal?

  
We can access with in the project and also in the derived project (More...)

What is the Difference between Internal and Protected Internal Access Modifiers?

  
Internal :

It can be accessed by any code in the same assembly but cannot be accessable in another assembly

Protected Internal :

It can be accessed by any code in the same assembly, or by any derived class in another assembly. For a particular project. (More...)

Define namespace in C++ ?

  
It is a feature in c++ to minimize name collisions in the global name space. This namespace keyword assigns a distinct name to a library that allows other libraries to use the same identifier names without creating any name collisions. Furthermore, the compiler uses the namespace signature for differentiating the definitions. (More...)

Define precondition and post-condition to a member function.

  
Precondition:
A precondition is a condition that must be true on entry to a member function. A class is used correctly if preconditions are never false. An operation is not responsible for doing anything sensible if its precondition fails to hold.
For example, the interface invariants of stack class say nothing about pushing yet another element on a stack that is already full. We say that isful() is a precondition of the push operation.


Post-condition:
A post-condition is a condition that must be true on exit from a member function if the precondition was valid on entry to that function. A class is implemented correctly if post-conditions are never false.
For example, after pushing an element on the stack, we know that isempty() must necessarily hold. This is a post-condition of the push operation. (More...)

Define the "integrity rules"

  
There are two Integrity rules.
1.Entity Integrity: States that "Primary key cannot have NULL value"

2.Referential Integrity: States that "Foreign Key can be either a NULL value or should be Primary Key value of other relation. (More...)

What is the Scope of public/private/friend/protected/protected friend?

  
Scope of public/private/friend/protected/protected friend.

Visual Basic/Visual C#
Public/public All members in all classes and projects.

Private/private Members of the current class only.

Friend/internal All members in the current project.

Protected/protected All members in the current class and in classes derived from this member's class. Can be used only in member definitions, not for class or module definitions.

Protected Friend/protected internal All members in the current project and all members in classes derived from this member's class. Can be used only in member definitions, not for class
or module definitions. (More...)

Which design pattern should have private or protected constructor?

  
singleton design pattern should have private or protected constructor (More...)

How to define a button USING XAML?

  
To define a button in WPD using XAML use the following syntax,



Example:-


Here the

To define abstract class in VB which keyword is used?

  
MustInherit keyword is used to create an abstract class in VB. (More...)

Quick Links For Interview Questions Categories:
ASP.Net Windows Application   .NET Framework   C#   VB.Net   ADO.Net  
Sql Server   SharePoint   Silverlight   OOPs   JQuery   JavaScript/VBScript
Biztalk Patten/Practices .IIS WCF WPF WWF
Networking Aptitude Others   All      

Find questions, FAQ's and their answers related to .NET, C#, Vb.Net, Sql Server and many more.

 
Now you can find lots of .NET, C#, Vb.Net, SQL Server,Windows, ASP.Net related Questions and their Answers here at www.dotnetspark.com. Our aim is to help you pass your certification Exams (MCP, MCSD, MCAD etc.,) with flying scores and get good name in your company.

So, Start looking our Interview Question section daily and improve your .NET Skills. You can also help others by posting Interview Questions and their Answers in this section.


Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend