Google News
logo
C# - Quiz(MCQ)
Which of the following converts a type (integer or string type) to date-time structures in C#?
A)
ToChar
B)
ToSingle
C)
ToString
D)
ToDateTime

Correct Answer :   ToDateTime


Explanation : ToDateTime() method converts a type (integer or string type) to date-time structures.

Advertisement