what is accessspecifier and explation each with example?
Answer Posted / chaithanya.a
These are also modifiers used to define scope of a type as
well as their members i.e who can access them who can't
c#supports 5 types
1.private
2.internal
3.protected
4.protected internal
5.public
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Why we use extension methods in c#?
What does dbml mean?
What is signature c#?
What is difference between private and protected?
What is executenonquery c#?
State two different types of access modifiers.
Can we call server-side code (c# or vb.net code) from javascript?
What is uint16?
What is native image generator (ngen.exe)?
What is a multicast c# delegate?
Which property do we set on a Combo Box to display data on it prior to setting the DataSource ?
These questions were asked me in a technical interview: •If we deploy an application on multiple server (like database server, web server) then, each request should be redirected to proper server, then how you will handle it in your code? •How security pinholes will be handled in an application? •What things should be considered while writing a web application? •How will you do load/performance testing of web application? Which framework you will use for it? •How will you implement a cache for results which require a DB access? Please let me know how to write an web application considering all these points. I am not so much aware of architechural design of web application. Your guidelines will be helpful.
Difference between debug.write and trace.write?
Can we write class inside a class in c#?
What is the use of dll file in c#?