445 Views
In current project, I get some troubles in DateTime class, about format the date time object with the pattern specific string and the current culture, so I decide to code some extension methods in DataTime class in .NET library. And I think it’s it very useful if somebody can use it as right way. I take some idea from this link and coding the enum class for its. After that I also used the Lambda Expression for...
1 comments
sdorman
11/6/2010 1:29:18 PM
Useful approach, but makes use of a lambda expression for no good reason. This could be accomplished simply by passing the enum value to the extension method.