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

Why singleton class is sealed?

0 Answers  


Which string method is used for concatenation of two strings in c#?

0 Answers  


What is the advantage of constructor in c#?

0 Answers  


What is form feed in c#?

0 Answers  


What is private and shared assembly?

0 Answers  


What is continue in c#?

0 Answers  


How will you deploy the dll file in gac?

0 Answers  


When is a class declared as a class abstract?

0 Answers   Siebel,


What is xaml in c#?

0 Answers  


What is difference between array and list?

0 Answers  


What is the extension of c# file?

0 Answers  


What is the purpose of a console table?

0 Answers  


Categories