Searching for "i"

Q:

Explain how to configure Trace switches in the application’s .config file.?

Answer

switches are configured using the .config file


<system.diagnostics>


<switches>


<add name="MyTraceSwitch" value="1" />


<add name="TraceSwitch2" value="1" />


</switches>


</system.diagnostics>


both are on.

Report Error

View answer Workspace Report Error Discuss

Subject: .NET

Q:

Describe how to step through code in .NET.

Answer

Steps to step through the code in .NET:



  1. Start the program in debug mode.

  2. When the first breakpoint is reached then step through can be done in one of the two ways:



  •  Press F10 to move to next line.

  •  Select debug menu and click on step over. This would step over the breakpoint to next level.


       3. Other options are: “Step Into” and “Step Out”.

Report Error

View answer Workspace Report Error Discuss

Subject: .NET

Q:

The book ' All Under Heaven ' was written by

A) Pearl S. Buck B) Sydney Sheldon
C) D.H.Lawrence D) George Bernard Shaw
 
Answer & Explanation Answer: A) Pearl S. Buck

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Books and Authors

Q:

Lala lajapathi rai is the author of the book

A) India Divided B) Hind Swaraj
C) Unhappy India D) Mother India
 
Answer & Explanation Answer: C) Unhappy India

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Books and Authors

Q:

Which of the following newspapers was published in Bengali Language

A) Jugantar B) Pratap
C) Din Mani D) Lok Satta
 
Answer & Explanation Answer: A) Jugantar

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Books and Authors

Q:

What is a delegate?

Answer

A delegate declares a ref type that references a named of anonymous method. Delegates are secure and type-safe. Consider them as type safe function pointers.

Report Error

View answer Workspace Report Error Discuss

Subject: .NET

Q:

Who said, " I therefore, want freedom immediately, this very night, before dawn, if it can be had

A) Mahatma Gandhi B) Edwina Mounbatten
C) Jawaharlal Nehru D) Ms. Taslima Nasreen
 
Answer & Explanation Answer: A) Mahatma Gandhi

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Books and Authors

Q:

Explain the process of creating a context menu using the ContextMenu component

Answer

ContextMenu component provides the users with the ability to access some very frequently used commands. Context menu works by right click of mouse. They mainly provide access to commands particular to the control that has been clicked upon.

Report Error

View answer Workspace Report Error Discuss

Subject: .NET