C#.NET - What is Assembly manifest? - The manifest of an assembly contains assembly's data like version...
|
C#.NET - What is GAC (global assembly cache)? - GAC, global assembly cache is an area of memory reserved to store the assemblies...
|
C#.NET - Can you inherit private class-level variables? - they can be inherited but they are not accessible in the derived class...
|
C#.NET - System.Object - System.Object: The object class is the ultimate base class of all classes in the .NET Framework...
|
C#.NET - What is the significance of the keyword virtual in the method definition? - The method with virtual keyword signifies that it can be over-ridden...
|
C#.NET - How can you allow class to be inherited and prevent the method from being over-ridden? - Declare the class as public and make the methods sealed...
|
C#.NET - What is an interface class? - An interface class is an abstract class with public abstract methods...
|
C#.NET - Difference between an interface and abstract class - In the interface all methods must be abstract...
|
C#.NET localized application - The System.Resources namespace contains classes and interfaces...
|
C#.NET assert() - Assert method is in debug compilation. It takes a boolean condition as a parameter...
|
C#.NET comments - // comments - It is Single-line comment...
|
C#.NET What are the ways to deploy an assembly? - MSI installer, CAB archive, XCOPY command...
|
C#.NET - Sorting the elements of the array in descending order - You can do so by calling Sort() and then Reverse() methods...
|
C#.NET System.String vs. System.StringBuilder classes - System.StringBuilder was designed with the purpose of having a mutable string...
|
C#.NET protected internal - This type of member is available to derived classes and classes within the same Assembly...
|
C#.NET - Method overriding vs. overloading - Overloading means having a method with the same name within the class...
|
C#.NET - Difference between the System.Array.CopyTo() and System.Array.Clone() - System.Array.CopyTo() performs a deep copy of the array...
|
C#.NET - How is the DLL Hell problem solved in .NET? - DLL Hell problem is solved in .NET with the introduction of Assembly versioning...
|
C#.NET - Define satellite assembly - Satellite assembly is created to write a multilingual or multi-cultural application in .NET...
|
C#.NET - Debugging an ASP.NET Web application - Attach the aspnet_wp.exe process to the DbgClr debugger...
|
C#.NET - purpose of tracing levels in System.Diagnostics.TraceSwitcher - Five levels range from none to Verbose, allowing fine-tuning the tracing activities...
|
C#.NET - Difference between the Debug class and Trace class - Debug class is used for debug builds while Trace class is used for both debug and release builds...
|
C#.NET - Role of the DataReader class in ADO.NET connections - DataReader class returns a read-only dataset from the data source when the command is executed...
|
C#.NET - purpose of Dispose method - Dispose method is used to destroy the objects from the memory...
|
What are the type of authentications supported to access a database in .NET? Windows Authentication.....
|
C#.NET - Out of Windows Authentication and SQL Server authentication, which one is trusted?...
|
C#.NET - It is a bad idea to throw your own exceptions. comment - Throwing your own exceptions means there is some design problem in the program...
|
C#.NET - How do you inherit derived class from a base class in C#.NET? - By using colon and then the name of the base class...
|
C#.NET - Protected class-level variable in C#.NET - It can be inherited by the classes in the same namespace...
|
Is it possible to inherit multiple interfaces in C#.NET Yes.....
|
C#.NET - How to prevent your class from being inherited? - You can do so by declaring the class public and making the method sealed...
|
C#.NET - When do we declare a class as abstract in C#.NET? - When at least one of the methods in the class is abstract...
|
C#.NET - How can you overload a method? - Different parameter data types, different number of parameters, different order of parameters...
|
C#.NET - System.String and System.StringBuilder classes...
|
C#.NET - What are three test cases you should go through in unit testing? - Positive test cases (correct data, correct output), negative test cases (broken or missing data, proper handling)...
|