Github GIST - Some Helpful C# .Net Core Extension Methods I've Coded
The Power of Programming
As the years go by, programming languages become more and more powerful, and the capability of what you can do with a piece of well written code is astounding.
One of the key rules of software development is to never repeat yourself, and your approach to coding will set you apart from the rest. Learning from others is possibly in many ways, even if it’s just a case of looking at another software developers code snippet…
Enter “Github GIST”…
Github GISTs provide a simple way for you to share code snippets with others. Every GIST is a Git repository, which means that it can be forked and cloned.
“With gists, you can share single files, parts of files, and full applications with other people.”
DateTime Extension Methods
The following extension method converts a DateTime value into a relative date - always useful.
Numerical Extension Methods
Next, is a series of numerical extensions for rounding numbers in various ways.
Enjoy!