GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

GeekInterview.com  >  Interview Questions  >  Microsoft  >  C#
Go To First  |  Previous Question  |  Next Question 
 C#  |  Question 425 of 430    Print  
What is the default access specifier for a Top Level Class,which are not nested into another classes

  
Total Answers and Comments: 5 Last Update: August 09, 2008     Asked by: vamsi062 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
June 06, 2008 07:50:50   #1  
lelia_florina Member Since: June 2008   Contribution: 1    

RE: What is the default access specifier for a Top Level Class,which are not nested into another classes
private
 
Is this answer useful? Yes | NoAnswer is useful 0   Answer is not useful 1Overall Rating: -1    
June 10, 2008 02:45:28   #2  
ericmclachlan Member Since: June 2008   Contribution: 1    

RE: What is the default access specifier for a Top Level Class,which are not nested into another classes

class A
{

    // ...
}

is equivalent to

internal class A
{
    // ...
}


 
Is this answer useful? Yes | No
June 18, 2008 22:47:17   #3  
shybaldbhuddist Member Since: June 2008   Contribution: 1    

RE: What is the default access specifier for a Top Level Class,which are not nested into another classes
internal
 
Is this answer useful? Yes | No
June 30, 2008 00:05:48   #4  
deepikadurge Member Since: February 2008   Contribution: 3    

RE: What is the default access specifier for a Top Level Class,which are not nested into another classes
by default access specifier of class is internal
 
Is this answer useful? Yes | No
August 09, 2008 10:11:02   #5  
tausif_thakur Member Since: August 2008   Contribution: 1    

RE: What is the default access specifier for a Top Level Class,which are not nested into another classes
Access Specifier for a Top Level Class is: Internal bcuz scope of tha class is limited within a application.
 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 




About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape