C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !



Posted By: Jyoti Sharma       Member Level: Gold       Posted Date: 05 Apr 2005       Category: C#

Is it possible to restrict the scope of a field/method of a class to the classes in the same namespace?



Select Answer:

There is no way to
restrict to a namespace. Namespaces are never units of protection
But if you’re using assemblies, you can use the ‘internal’
access modifier to restrict access to only within the assembly.




      
Your Test Score: 0 / 0



Next Question: How do you implement thread synchronization (Object.Wait, Notify,and CriticalSection) in C#? -
Previous Question: The C# keyword ‘int’ maps to which .NET type?
Related Questions:
  • Which of the following values comes under the ThreadPriority enumeration List


  • Structure is of _______________ type.


  • Which of the following are predefined reference types in C#?


  • how to prevent a window form from getting closed when the user clicks on the close button or the close option of the control menu


  • It is possible to have Delegates


  • Categories

    ASP.NET C# VB.NET 
    .NET Framework SQL Server Other 

    Submit Interview/Test Questions with Answers and make money from adsense revenue sharing program

    Want to prepare for an interview? Try our aptitude tests and standard interview questions first.


    dotNet Slackers   BizTalk Adaptors    Web Design


    Contact Us    Privacy Policy    Terms Of Use