Explain the Scope of
public/private/friend/protected/protected friend.
Answer / 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 |
Why are strings in c# immutable?
What is the use of command builder?
How can you overload a method?
Define c# i/o classes?
How do you use nullable?
What is the data type for bit in c#?
Which is faster list or dictionary in c#?
What are the different types of constructors in c#?
Explain what is copy constructor?
Can you declare the override method static while the original method is non-static?
class Employee { stat9c Method1() static Method2(ref a) stat9c Method3(out x) } class Employee { stat9c Method1() static Method2(ref a) stat9c Method3(out x) } what will happen & why?
What is the name of the implicit input parameter of a set accessor for any property?