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
Explain the types of Polymorphism.
What is the difference between final finally and finalize in c#?
Does c# have a 'throws' clause?
Can we inherit partial class in c#?
What is cache memory in c#?
Explain the importance and use of each, version, culture and publickeytoken for an assembly.
What is a property c#?
What is a method signature?
What is the difference between struct and class in c#?
Illustrate race condition?
How many types of delegates are there in c#?
Explain what is the smallest unit of execution in .net?
Is string null or empty?
In .Net, what is an assembly? Also explain the type of assembly.
Is it possible to nest cfml conditional tags?