Refinements are scope lexically, meaning they're in effect from the time they're activated (with the
using keyword) until control shifts. Usually control is changed by the end of a module, class, or file.
Dual-purpose modules (refinements or global patches)
This modified text is an extract of the original Stack Overflow Documentation created by following contributors
and released under CC BY-SA 3.0