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.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
SenthilkumarPosted Apr 17, 2012, 12:37 AM
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
Satyapriya NayakPosted Apr 16, 2012, 10:39 PM
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
George ericPosted Apr 16, 2012, 9:12 PM