adplus-dvertising
frame-decoration

Question

What is the need for ‘Conversion of data type’ in C#?

a.

To store a value of one data type into a variable of another data type

b.

To get desired data

c.

To prevent situations of run time error during change or conversion of data type

d.

None of the mentioned

Posted under C# programming

Answer: (c).To prevent situations of run time error during change or conversion of data type

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is the need for ‘Conversion of data type’ in C#?