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 are the generation of Garbage Collection in C# .NET ?

0 Answers   MCN Solutions,


Can you pass value types by reference to a method?

0 Answers  


How do you secure a webservice?

1 Answers   TCS,


3. Describe the process of interact UI to BAL n DAL?

2 Answers   Mphasis,


What is the minimum size (in bytes) of string data type in c#? Give its compatible data type in .NET Framework.

5 Answers  


Can an interface extend a class c#?

0 Answers  


Contrast System.String and System.Text.StringBuilder classes?

0 Answers   Siebel,


What is the use of inheritance in c#?

0 Answers  


If you define a user defined data type by using the class keyword, is it a value type or reference type?

0 Answers  


What is lastindexof c#?

0 Answers  


Why do we need reflection in c#?

0 Answers  


Do vs while c#?

0 Answers  


Categories