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
What is the difference between C# 3.5 and C# 4.0?
What is the advantage of constructor?
What does assert() do in c#?
how to Create a datagridview control with check box column with 8rows in it, the maximum number of check boxes checked should be 3, when user checks the 4th corresponding message should be displayed and check box should be checked. User can uncheck the checked boxes Note: read-only property should not be used
What is get set in c#?
Name some string escape sequences in c#.
What does == mean in c sharp?
What is for loop in c#?
Can constructor have return type c#?
Explain Direct CAST vs CType ?
How many types of serialization are there in c#?
What is a thread? What is multithreading?
When is a class declared as a class abstract?
What do you mean by jagged arrays in c#?
What is type cast in C#?