We all know about the singleton pattern.
How do you implement a singleton "method"? - a method that is called only once and any other call will do nothing.
I can think a few ways (including Lazy - if (!.IsValueCreated) {... value.method();}) but how would you implement it?
certain valuein that method and only do the work if it IS thatcertain value, then set it toanother valuein that method after your work has been done and ensure that value is not reset to thecertain valueagain elsewhereexternal API methodinto your own so you regain control ;)