.NET Framework Interview questions

Q1)What are the debugging windows available?
Ans)

The windows which are available while debugging are known as debugging windows.

These are: Breakpoints, Output, Watch, Autos, Local, Immediate, Call Stacks, Threads, Modules, Processes, Memory, Disassembly and Registers.
-------------------------------------------
Q2)How do we step through code?
Ans)
Stepping through the code is a way of debugging the code in which one line is executed at a time.

There are three commands for stepping through code:

Step Into: This debugging mode is usually time-consuming. However, if one wants to go through the entire code then this can be used. When you step into at a point and a function call is made somewhere in the code, then step into mode would transfer the control to the first line of the code of the called function.

Step Over: The time consumed by the Step into mode can be avoided in the step over mode. In this, while you are debugging some function and you come across another function call inside it, then that particular function is executed and the control is returned to the calling function.

Step Out: You can Use Step Out when you are inside a function call and want to return to the calling function. Step Out resumes execution of your code until the function returns, and then breaks at the return point in the calling function.

Steps in visual studio
----------------------
Tools\Options -> Environment\Keyboard. The Step Into/Out commands are Debug.StepInto/Debug.StepOut.

Note that the default is F10 = StepOver and F11 = StepInto.
You can alternatively reset the key bindings because the default is what you want as well.
-----------------------------------------

Q3)Which one is not a testing tool in Dotnet Framework ?
Ans)
Select from following answers:
  1. NUNIT
  2. NANT
  3. csUnit

NANT - NAnt is a free .NET build tool based on Ant.