Extension Methods from Dan Atkinson
Parses the specified string value into the Enum type passed. Also contains a bool to determine whether or not the case should be ignored.
Count-based extensions which make checking the length of something more readable.
* Updated on 2010-01-16 following suggestion from @Sane regarding the use of Count() in None(). Switched to Any(). Thanks!
ExtensionMethod.NET was built by
Loek van den Ouweland and Fons Sonnemans
By using this website, you agree to the legal stuff.
We thank all who contributed to this website for the last twelve years. It really helped making this website a success!
Just looking for examples? Visit our sister site
Looking for Visual Studio Code Snippets? Visit our sister site VisualStudioCodeSnippets.com.