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 many aware interfaces are there?
What is a .aspx file?
Which technology is best for desktop application?
What is the difference between abstract class and interface in c#?
What is class sortedlist underneath?
I wish to create a windows application to perform a similar function as that of the "Search" which is provided to look for related files and folders in the System.. What steps must i follow??
What is the difference between mobile application and desktop application?
How many bytes is a long c#?
How do I open the console window?
What does using system mean in c#?
What is _viewstart cshtml?
Explain data types in c#?
What is difference between ienumerable and list?
Explain the difference between directcast and ctype.
What is using keyword?