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
How do I trim a space in c#?
Are c# strings immutable?
What is local function?
What is application object in c#?
What is data adapter in c#?
What is multidimensional array in c#?
what is partial assembly reference
What are delegates?
What is exe in c#?
Explain types of comment in c# with examples
What is dependency injection in simple words?
How do you inherit a class into other class in c#?
What is the benefit of delegate in c#?
What is assembly c#?
What is the process of Serialization?