|
C#.Net Interview Questions and their answer
part 4.
<<Previous Next >>
By Nishant Kumar
Question
- Difference between an interface and abstract class
Answer
- In the interface all methods must be abstract;
In
the abstract class some methods can be concrete.
In
the interface no accessibility modifiers are allowed, which is possible in
abstract classes.
Question
- How can you overload a method?
Answer
- Different parameter data types, different number of parameters,
different order of parameters.
Question
- Difference between System.String and System.StringBuilder
classes.
Answer
- System.String is immutable;
System.StringBuilder
was designed with the purpose of having a mutable string where a variety of
operations can be
performed.
Question
- Define Delegate.
Answer
- A delegate object encapsulates a reference to a method.
In
C++ they were referred to as function pointers.
Question
- How is DLL Hell problem solved in .NET?
Answer
- Assembly versioning helps to resolve not only the
library it needs to run , but also the version of the assembly.
Question
- Ways to deploy an assembly.
Answer
- MSI installer, a CAB archive, and XCOPY command.
Part 1 |
Part 2 |
Part 3 |
Part 4 |
part 5
<<Previous Next>>
Define Validation Control in ASP.NET. | What are the
validation types supported by ASP.NET? | Describe the steps to use Validation
Control.
Explain the .Net Framework. | Describe the .Net Framework
Architecture. | What are the components of the .Net Framework. | Explain the
role of assembly in the .Net Framework. | Describe the GAC in the .Net
Framework.
Define .Net Assembly. |
What does an assembly contain? | Define a private assembly and a
shared assembly. | What are Satellite Assemblies? | What do you
understand by side-by-site execution of assembly? | How do you
create a resource-only assembly? | Explain how to retrieve resources
using ResourceManager class. | Define Strong Name. | How do you
apply a strong name to assembly? | Define Global Assembly Cache. |
How do you install assembly to the Global Assembly Cache?
|