Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What are the access allowed for compilation
units(namespace),class and structs and what are its default
access?



What are the access allowed for compilation units(namespace),class and structs and what are its def..

Answer / basavaraju.c

Namespace : It is not possible to use any access specifiers
like private, public etc with a namespace declarations. The
namespaces in C# are implicitly have public access and this is
not modifiable.

For Class and Structs we can only use internal and public.
(default access is Internal)

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

Can we inherit an abstract class in another abstract class. If no why and If yes how..?

2 Answers  


Is .net and c# the same?

0 Answers  


What is desktop application testing?

0 Answers  


Name the property of the textbox which cannot be changed at runtime?

0 Answers  


Which of the following operations can you not perform on an ado.net dataset?

0 Answers  


List out two different types of errors in c#?

0 Answers  


Define an escape sequence, name few strings in escape sequence?

0 Answers  


Differentiate between the public and private ?

0 Answers   Microsoft,


What does xpath return?

0 Answers  


What are get and set in c#?

0 Answers  


What is the difference between constant and readonly in c#?

0 Answers  


What are the different ways of method can be overloaded?

0 Answers  


Categories