Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • @Bolu I've explicitly removed the tag to make post version agnostic and updated answers to match that. Consider making a clarifying edit in the question instead of restoring the tag if you think 4.0/2.0 was not prominent enough. Commented Oct 3, 2014 at 15:49
  • Sorry @AlexeiLevenkov, didn't pay much attention, please feel free to roll-back. Commented Oct 3, 2014 at 15:56
  • OK. Reverted the change. Commented Oct 3, 2014 at 16:07
  • This question was updated to cover all versions of .Net from original just 2.0 - contains several alternative answers for different frameworks and requirements - check out all to see which one fits your requirements better. Commented Oct 3, 2014 at 19:42