What is wrong with a line like this? DateTime.Parse(myString)

Answer Posted / anand

Nothing wrong with the format really. Only problem is that
the result would depend on the Culture of the machine where
this line is getting invoked. Ideally you should also
supply the second parameter - or specify the Culture!

Is This Answer Correct ?    8 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What kind of data can be stored in viewstate?

530


Explain the different types of assemblies?

529


What are directives in asp.net?

534


What is the file extension of web service?

556


How can we implement a identity (sql server) call in an asp.net page?

558






Can we add code files of different languages in app_code folder?

603


What is preprocessor in .net and type, where it use?

662


What are session state modes? List some of the important session state modes of asp.net.

537


How can u deifne the benefits and limitation of using Viewstate for state management?

710


What is work flow gen? how can it will work with .Net?

2576


what is a .xap file? Explain with an example.

591


Give me one example of Web API Routing?

600


What describes a query?

527


What is cached data phone?

530


What is class and object in asp.net?

494