What is the difference between Finalize() and Dispose()? - Dispose() is called by as an indication for an object to release any unmanaged resources it has held...
|
How does the XmlSerializer work? - The XmlSerializer constructor generates a pair of classes derived from XmlSerializationReader and XmlSerializationWriter by analysis of the classes using reflection...
|
C#.Net - What are circular references? - A circular reference is a run-around wherein the 2 or more resources are interdependent on each other rendering the entire chain of references to be unusable...
|
Explain how to add controls dynamically to the form using C#.NET. - The following code can be called on some event like page load or onload of some image or even a user action like onclick
|
C#.Net - What are Extender provider components? Explain how to use an extender provider in the project. - An extender provider is a component that provides properties to other components...
|
Describe the configuration files in .Net. Different types of configuration files. - The Machine.Config file, which specifies the settings that are global to a particular machine...
|
C#.Net - Describe the accessibility modifier protected internal. - Its access is limited to the types derived from the defining class in the current assembly or the assembly itself...
|
C#.Net - Difference between Debug.Write and Trace.Write - Debug.Write: Debug Mode, Release Mode (used while debuging a project)....
|
Explain the use of virtual, sealed, override, and abstract - The virtual keyword enables a class to be overridden. If it has to be prevented from being overridden...
|
What benefit do you get from using a Primary Interop Assembly (PIA)? - A primary interop assembly contains type definitions (as metadata) of types implemented with COM...
|
Explain the use of static members with example using C#.NET - Static members are not associated with a particular instance of any class.
|
How to achieve polymorphism in C#.NET? - Polymorphism is when a class can be used as more than one type through inheritance....
|
What are implementation inheritance and interface inheritance? - Implementation inheritance is achieved when a class is derived from another class in such a way that it inherits all its members...
|
How to add a ReadOnly property in C#.NET? - Properties can be made read-only by having only a get accessor in the implementation...
|
How to prevent a class from being inherited in C#.NET? - The sealed modifier is used to prevent derivation from a class...
|
What are generics in C#.NET? - Generic types to maximize code reuse, type safety, and performance....
|
What is the use of GetCommandLineArgs() method in C#.NET? - With GetCommandLineArgs() method, the command line arguments can be accessed...
|
What is the use of System.Environment class in C#.NET? - The System.Environment class can be used to retrieve information...
|
What is the difference between const and readonly in C#.NET? - The read only can be modified by the class it is contained in...
|
Advantages of CLR procedure over T-SQL procedure - The use of the CLR procedure makes it possible to do the complex database operations...
|
How does C# Generics and C++ Templates compare? - C# generics and templates in C++ are more or less similar syntactically...
|
What is an Object Pool in .NET? - An object pool is a container of objects that holds a list of other objects that are ready to be used...
|
Why is an Object Pool required? - The request for the creation of an object is served by allocating an object from the pool...
|
Explain how to implement an Object Pool in C#.NET - using System; using System.Collections;...
|
Major components that make up a Web Service - SOAP (Simple Object Access Protocol)...
|
How to implement a Web Service in .NET -....
|
What is ILDASM and Obfuscator in NET? - ILDASM (Intermediate Language Disassembler) - De-Compilation is the process of getting the source code from the assembly...
|
Explain how Obfuscator works in NET - Obfuscators protect the source code from being hacked...
|
What is an Exception in .NET? - Exceptions are errors that occur during the runtime of a program...
|
What are Custom Exceptions? Why do we need them? - Custom Exceptions are user defined exceptions...
|
What are Custom Exceptions? - Custom exception needs to derive from the System.Exception class. You can either derive directly from it or use an intermediate exception like SystemException...
|
What are delegates and why are they required? - The delegates in .NET are like the pointers to the functions in C/C++...
|
Explain how to implement Delegates in C#.NET - Here is an implementation of a very simple delegate that accepts no parameters...
|
A CLR trigger could be a Date Definition or Date Manipulation Language trigger or could be an AFTER or INSTEAD OF trigger...
|
Steps for creating CLR Trigger - Follow these steps to create a CLR trigger of DML (after) type to perform an insert action...
|
C#.NET - What is an assembly in .NET? - An assembly is the primary unit of a .NET application...
|
C#.NET - What is a Constructor? What is a Destructor? - It is called just before an object is destroyed. It can be used to run clean-up
code...
|
C#.NET - Define abstract class in C#.NET - An abstract class is a class that can't be instantiated...
|
C#.NET - What is serialization in .NET? - Serialization is a process of converting an object into a stream of bytes...
|
C#.Net support multiple inheritance - No, but we can use interface instead...
|
C#.NET - Can private virtual methods be overridden in C#.NET? - First of all private methods in the inherited class can't be accessed...
|
C#.NET - Is is possible to force garbage collector to run? - we can force garbage collector to run using System.GC.Collect(). ...
|
C#.NET - What is the role of data provider in ADO.NET? - ADO.NET supports the following OLE DB Providers...
|
C#.NET - .Net application compilation and execution - Compilation can be done with Debug or Release configuration...
|
C#.NET - What is an Event? Define Delegate - Delegates are kind of similar to the function pointers. But they are secure and
type-safe...
|