April 29, 2019

Github GIST - Some Helpful C# .Net Core Extension Methods I've Coded

Written a new code snippet? Chief Technology Officer (CTO) Simon Gilbert explains he benefits of using and sharing Github GISTs in C# .Net Core

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...

Github GIST - C# .Net Core Extension Methods

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.

Github GIST - C# .Net Core Extension Methods

Numerical Extension Methods

Next, is a series of numerical extensions for rounding numbers in various ways.

Github GIST - C# .Net Core Extension Methods

Download Github Code Samples

Feel free to DOWNLOAD the sample code of the aforementioned implementations from my Github account.