1 Reusable Code Snippet Topic

Remove Filter
Member Avatar for
Member Avatar for ddanbe

I'm a great fan of extensions in C#. See also this previous [snippet](https://www.daniweb.com/software-development/csharp/code/467292/squaring-an-integer-with-extensions). Extensions are really simple to use. Start with adding a static class containing static methods. Note the special use of the keyword `this` in the Times extension method. The next code snip is how you could use …

Member Avatar for kplcjl
0
381

The End.