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

What is xml serialization in c#?

0 Answers  


What is class sortedlist underneath?

0 Answers  


what are nullable types in c#

0 Answers   Cognizant,


Why do we need interface in c#?

0 Answers  


Is arraylist type safe in c#?

0 Answers  


What is an array? Give the syntax for a single and multi-dimensional array?

0 Answers  


Explain the difference between a Private Assembly and a Shared Assembly

0 Answers   HCL,


how to prevent a class from being inherited in c#.net?

0 Answers  


what is the difference between int and Int32?

5 Answers   TCS,


Is constructor a static method?

0 Answers  


What is difference between write and writeline?

0 Answers  


Why is hashset faster?

0 Answers  


Categories