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 |
Practcle scenario where I can use abstract class and where I can use Interface
1 Answers Jeevan Technologies,
what will be the output of the given below coding. using System; public class Exercise { static void OddNumbers(int a) { if (a >= 1) { Console.Write("{0}, ", a); a -= 2; OddNumbers(a); } } public static int Main() { const int Number = 9; Console.WriteLine("Odd Numbers"); OddNumbers(Number); Console.WriteLine(); return 0; } }
1)what is difference between char and varchar in sql server 2005 2) what is composite key and candidate key 3) what is temporary table and derived table 4) how to calculate difference between two dates
Enlist all the components of an ado.net framework?
How do I unload an application domain?
What is sql transaction in c#?
Give an example of removing an element from the queue?
What are the Types of configuration files and their differences
Explain the features of an abstract class in net.
What is generic collection in c#?
How can you set image source dynamically from c# application to ”test.png” file?
List down the different ide’s provided by microsoft for c# development.
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)