Interview Questions  

Go Back   Interview Questions > Interview Questions & Answers > Information Technology > Microsoft Technologies > C Sharp

C Sharp C Sharp Interview Questions, Learn by sharing C Sharp Interview Questions asked in various companies, Get Career advices, Interview Procedures from C Sharp experts, Post asked C Sharp Interview Questions and Answers.

   

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-11-2008, 09:03 AM
Senior Member
 
Join Date: Feb 2008
Posts: 9,095
Default What are the access-specifiers available in c#?

What are the access-specifiers available in c#?
Reply With Quote
  #2 (permalink)  
Old 05-07-2008, 11:49 AM
Junior Member
 
Join Date: May 2008
Posts: 20
Default

public - The member can be accessed from anywhere
2. internal - The member can only be accessed from type it
originates from or other types in the same assembly
3. protected - The member can only be accessed from the type
it originates from or from detrieved types of the
originating type
4. protected internal - implies protected OR internal ( not
protected AND internal )
5. private - The member is only accessible by other members
within the type it originates from.
Reply With Quote
Reply

Tags
c sharp, interview question

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On