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

  • 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

When the value of object type variable cannot be assigned to variable on LHS, an exception of type ______________ is thrown

NOTE: This is objective type question, Please click question title for correct answer.
Excessive usage of object datatype makes the language __________

NOTE: This is objective type question, Please click question title for correct answer.
Casting is done based on _________ of datatype

NOTE: This is objective type question, Please click question title for correct answer.
Byte can be implicitly assigned to ____________ dataype

NOTE: This is objective type question, Please click question title for correct answer.
In .NET strings are ____________

NOTE: This is objective type question, Please click question title for correct answer.
If OptionStrict is off, is explicit casting require?

Its required only if option strict on.
Is there is way to get the address of an object which is created? If No, why

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
Explain how properties differ from fields. Why would you expose public data through properties instead of fields

Properties allow validation code to execute when values are accessed or changed.This allows you to impose some measure of control over when and how
values are read or changed. Fields cannot perform validation when being
read or set
Explain why you might use enums and constants instead of their associated literal values

Enums and constants make code easier to read and maintain by substituting
human-legible tokens for frequently used constant values.
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.
An object in different forms and in each form it exhibits the same functionality but in different ways ___________

NOTE: This is objective type question, Please click question title for correct answer.
Class is a ____________, while object is a __________ of the class created

NOTE: This is objective type question, Please click question title for correct answer.
The methods of the object are used to describe the __________

NOTE: This is objective type question, Please click question title for correct answer.
One object can have _______

NOTE: This is objective type question, Please click question title for correct answer.
A property is made of 2 blocks ___________

NOTE: This is objective type question, Please click question title for correct answer.
A property procedure doesn't hold any data by itself instead it depends on some __________ of the class

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

NOTE: This is objective type question, Please click question title for correct answer.
In VB.NET a constructor is a ________

NOTE: This is objective type question, Please click question title for correct answer.
A ______________ is used to release the resources that an object is holding

NOTE: This is objective type question, Please click question title for correct answer.

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