Hi
I want to know difference between access modifier and access specifier in .net ? Please explain anyone in details with an example ?
Thanks
Loading
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
George ericRank #9,604 · 204 reputationPosted Apr 16, 2012, 5:12 PM EDT
Satyapriya NayakRank #47 · 31.5K reputationPosted Apr 16, 2012, 6:39 PM EDT
Access specifiers ::
The access specifier determines how accessible the field is to code in other classes. Access ranges from totally accessible to totally inaccessible. You can optionally declare a field with an access specifier keyword: public, private, or protected.
Access Modifiers ::
You can optionally declare a field with a modifier keyword: final or volatile and/or static and/or transient, abstract, etc.
Thanks
SenthilkumarRank #387 · 6.5K reputationPosted Apr 16, 2012, 8:37 PM EDT
For more info:
http://dotnetspecialsupport.blogspot.com/2012/03/difference-between-access-specifiers.html
http://www.eggheadcafe.com/community/csharp/2/10162909/difference-between-access-specifiers-and-access-modifiers-in-c.aspx