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
How do you handle server controls?
Is asp.net and .net same?
Explain repository pattern in asp.net mvc? : asp.net mvc
What is a reflection?
Is session stored in browser?
How will create assesblies at run time?
What are type/key pairs in client script registration?
Can master pages be nested?
What is the behavior of a Web browser when it receives an invalid element?
How many types of controls are there in asp.net?
Explain http handlers? Where we can use the http handlers?
What is postback pixel?
Explain the difference between response.redirect vs server.transfer
What are the differnt types of handler in ASP.NET?
What is the life cycle of web page?