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 |
What is the difference between disposing of () and finalize() methods in c#?
What is a system lock?
What does an indexer do?
What are Namespaces?
Should I use double or float?
Is c# and .net same?
What are delegate methods?
What debugging tools come with the .NET ssSDK?
Why do we use classes?
What is array? What are jagged array ?
Why do we use dictionary in c#?
Is goto statement supported in c#?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)