What are the access allowed for compilation
units(namespace),class and structs and what are its default
access?
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 |
What is Satellite Assemblies ?
What is property c#?
What is the purpose of namespace?
Why are dynamic link library used over static one?
Is enum a class c#?
What is the difference between abstract and abstraction?
What is delegates and events?
Can an interface extend a class c#?
What is the use of partial methods?
Why is it a bad idea to throw your own exceptions?
what is garbage collection?
What statements can enclose a "continue" statement?