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?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the methods in c#?

1014


What all details the assembly manifest will contain?

864


Can I call a virtual method from a constructor/destructor?

942


What are extensions in c#?

1031


Why are local variables stored in stack?

1087


What are the generation of Garbage Collection in C# .NET ?

1001


Are private members inherited in c#?

1018


Why References are stored on heap and variables on stack?

982


Explain the ways to deploy an assembly?

1033


What is form feed in c#?

988


What is yield in c#?

918


Explain the difference between “constant” and “read-only” variables used in c#?

1089


What is data binding c#?

997


What are bitwise logical operators?

944


What is polymorphism c# example?

976