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

Explain the types of Polymorphism.

1043


What is the difference between final finally and finalize in c#?

875


Does c# have a 'throws' clause?

967


Can we inherit partial class in c#?

871


What is cache memory in c#?

864


Explain the importance and use of each, version, culture and publickeytoken for an assembly.

871


What is a property c#?

936


What is a method signature?

940


What is the difference between struct and class in c#?

1147


Illustrate race condition?

842


How many types of delegates are there in c#?

895


Explain what is the smallest unit of execution in .net?

886


Is string null or empty?

852


In .Net, what is an assembly? Also explain the type of assembly.

859


Is it possible to nest cfml conditional tags?

857