Dot Net Framework Interview Preparation Guide
Download PDF

Dot Net Framework frequently Asked Questions by expert members with experience in Dot Net Framework. So get preparation for the Dot Net Framework job interview

22 Dot Net Framework Questions and Answers:

2 :: What is namespace?

Namespace is a logical container for all types i.e
class, enum, struct, interface etc..

Namespace is used in two scenarios:
1. to overcome the naming collision
2. to group related items together

3 :: What is Reflection in .NET?

Reflection is the feature in .Net, which enables us to get
some information about object in runtime. That information
contains data of the class. Also it can get the names of
the methods that are inside the class and constructors of
that object.

4 :: Explain unit test done by tester on development team?

Yes, Ideal practice is, the basic unit test should be
written by the developer. Further in scenario vice test
cases and more complext test cases must be written by WBT
(White box testing) team.

5 :: What is .net framwork?

FRAMEWORK : it is a collection of all the tools and utilities required to execute the .net managed application on particular platform.

6 :: What is CLR? How does work CLR & wht is work of CLR?

CLR- common language runtime.. clr in .net is equivalent to jvm in java. garbage collection,sode access security, code verification, intermediate language are work sof clr..
it uses jit to compile intermediate language code to machine code.

7 :: Where The Inheritence is useful? How we decide the situation of inheritence?

Mostly inheritance requires in large classes where every
time searching and writing of same data is impossible. That
case requires us to define some inherited functions methods
n classes.Whenver they required they simply inherited from
inheritance class where they are already defined along with
their functionality to handling some other data pieces.

8 :: Who handles these error while writing the source code?

Suppose i am writing code in .net e.g
int i=10
then .net show me red line under the code where error
occurs.we know the i have not apply semicolon at the end of
syntax(int i=10;)

9 :: Can we change web.config settings from iis?

Yes authority and authentication settings of the
application can be changed with iis. plus we can also
change the connection property and start page setting from
iis.

10 :: What happened when type url in address bar and press enter?

the url is break into four parts(i.e. ip addresses)first is
protocol in use,2nd host name or ip addr,3rd protocol port
no.,4th actual file path