.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Forum >> ASP.Net >> Post New QuestionBookmark and Share Subscribe to Forum

Access specifiers

Posted By: Naresh     Posted Date: August 12, 2010    Points:2   Category :ASP.Net
What is the default access specifier for class,methods and members in c#.net and asp.net

Responses
Author: Syed Shakeer Hussain             
Posted Date: August 12, 2010     Points: 5   

Hi,


A class has default modifiers as private
For class-members, the default specifier is private
Default access specifier for method is private


Author: Hiren Soni             
Posted Date: August 14, 2010     Points: 5   

All purely object oriented language,including c#, has private access specifier for all class member data or member functions

Hiren soni
http://www.dotnetask.com


Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend