Thursday August 27th

Wednesday August 26th

DateTime formatting extension method

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

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.

Commenting on Stories is limited for now and will open up to those recommended by the community. Learn how
Loading DotNetKicks...
brought to you by the Kicks Network