0
What is Convert.ToDateTime() in c#
Is there a method like convert.todatetime(). if there is please tell me how to use it.
1 Answer
+ 1
Just read the MSDN, it has examples.
System.Convert.ToDateTime:
https://docs.microsoft.com/en-us/dotnet/api/system.convert.todatetime
System.DateTime.Parse:
https://docs.microsoft.com/en-us/dotnet/api/system.datetime.parse