Explain the Scope of
public/private/friend/protected/protected friend.
Answer Posted / jiten
public members r available all classs
private members r available only within class
protcted members r available drive classs
protected friend members r availble in drived classs and
all classs whitch r in same assambly
friend memebers r available for all classs witch in same
assambly
| Is This Answer Correct ? | 13 Yes | 1 No |
Post New Answer View All Answers
Does c# do array bounds checking?
What are the different types of classes in c#?
What do you mean by expression tree?
Which attribute adorn a test class to be picked up by the NUnit GUI in the NUnit test framework?
What is fcl in c#?
if a base class has a number of overloaded constructors, and an inheriting class has a number of overloaded constructors; can you enforce a call from an inherited constructor to a specific base constructor?
What is scaffolding in c#?
hi my question is about understanding a text the user entered to a site , so i want to analyse that text looking for some specific items such as "honda" "shoffere" etc.. so if this site could help or could tell me where to go with such question ,i wonder. thanks
Will the following code compile?
Define c# delegate?
What is console used for?
Give examples for value types?
What is form feed and carriage return?
What are the differences between events and delegates in c#?
How do you declare a variable in c#?