Advantages of Making Your Methods Idempotent and Static in C#

added by Paul Wheeler
6/25/2014 12:52:13 PM

3 Kicks, 136 Views

A method is idempotent when the same input(s) always return the same output. When adding methods to classes, many developers spend little time deciding if the method should be idempotent, but there are many advantages.