C# Exclusive Interview Questions and Answers (453) - Page 4

  • A joint initiative from DotNetFunda.Com and Questpond.
  • A one stop place on the internet to get trusted and proven Interview Questions (based on more than a decade of experience in this field) to ensure the success of the candidates.
  • You will find almost all Interview questions from Questpond here and this list is growing day by day with all latest and updated interview questions.

453 records found.

Get 650+ Questpond's Interview videos on discount

Class CA:CA1,CA2

NOTE: This is objective type question, Please click question title for correct answer.
Can a sealed class have abstract methods?

NOTE: This is objective type question, Please click question title for correct answer.
Can multiple catch blocks be executed?

No, once the proper catch code fires off, the control is transferred to the finally block (if there are any), and then whatever follows the finally block.
Can a variable declared in try block accessed in catch block?

NOTE: This is objective type question, Please click question title for correct answer.
Can we use goto and return in finally block?

NOTE: This is objective type question, Please click question title for correct answer.
Exception is ________ because it can encapsulate the data required for properly handling exception in catch block

NOTE: This is objective type question, Please click question title for correct answer.
Every user-defined exception class inherits from

NOTE: This is objective type question, Please click question title for correct answer.
Is there is way to get the address of an object which is created?

No, there is no way to get the address of an object. We can only have the reference to the object which is created to access the members of the class for a given object.

This is because once an object is created all the variables(values/reference types) are allocated the memory in heap and so it is very difficult to trace the exact address in heap memory.
Binding of data and behavior i.e. functionality of an object within a secured and controlled environment is

NOTE: This is objective type question, Please click question title for correct answer.
A constructor is ideally used for ___________ the field mebers of the object

NOTE: This is objective type question, Please click question title for correct answer.
A structure with reference type as its member is treated as ____________ type

NOTE: This is objective type question, Please click question title for correct answer.
Individual applications app.config file if required can _____________ the settings in the machine.config

NOTE: This is objective type question, Please click question title for correct answer.
All operator overloaded methods are _____________ methods of the class.

NOTE: This is objective type question, Please click question title for correct answer.
Why is NGen used. Please Explain.

NGenerator (NGen) is used to compile the code which is in MSIL format. NGen is also called Pre JIT.
MS.NET is a _________

NOTE: This is objective type question, Please click question title for correct answer.
What is MSIL : Microsoft Intermediate Language (MSIL)?

An intermediate language generated by compiler is called MSIL. All .Net assemblies are represented in MSIL. The main Advantage of using MSIL is it provides equal performance for multiple language programming, as code is compiled to native code.

More C# Interview Questions & Answers here

Found this useful, bookmark this page to the blog or social networking websites. Page copy protected against web site content infringement by Copyscape

 Exclusive Interview Questions and Answers Categories