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

  • 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

What is the use of Step keyword in a For Loop?

To increment or decrement the For loop.
How to iterate loop infinitively?

set condition (True),
ex:- (While(True)-End While).
Can a decimal be categorised as floating point datatype?

No.Even though the decimal allows digits after decimal point, the number
of digits are fixed unlike float and double where number of digits are
not fixed.
what is an Immutable variable?

The objects whose value can not be modified means once the value is set it can not be changed.
Example:- string.
What is ParamArray Parameter?

Parameters Which are of type array(any datatype) can be marked as ParamArray.If it is marked as ParamArray a referance to the Array can be passed as argument.
How can we sort the elements of the array in descending order?

By calling Sort() and then Reverse() methods.
Can you define what is jagged array in VB.NET?

Jagged array is multidimensional array. If jagged array is two dimenstional it also contain a table where each row can have a different number of columns. A jagged array is really an array of arrays.
Which of declaration of arrays is valid a)Dim ar(10) as integer b)Dim ar as Integer(10) c)Dim ar(0 to 10) as Integer

NOTE: This is objective type question, Please click question title for correct answer.
How we can set the size of an Array at runtime?

NOTE: This is objective type question, Please click question title for correct answer.
What’s the difference between the System.Array.CopyTo() and System.Array.Clone()?

The first one performs a deep copy of the array, the second one is shallow.
When do we need to do Explicit Casting?

When the variable on RHS has a range of values, which the variable on LHS
cannot be assigned to, then explicit casting is required.
In what situations should we use Boxing and Unboxing ?

Boxing and UnBoxing should be used in situations where until runtime we don't know the type of data we are going to deal with.

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