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 |
List down the access modifiers available in c#?
Explain manifest & metadata?
Did it possible to cast a generic type of derived class to generic type of base class?
What is func c#?
Use of Checked and UnChecked operators?
What is the Difference between imperative and interrogative code?
Define an assembly in .net?
What is the c# equivalent of c++ catch (…), which was a catch-all statement for any possible exception? Does c# support try-catch-finally blocks?
What is helper method in c#?
What is wpf c#?
What is the difference between namespace and class?
Can you create sealed abstract class in c#?