C# language feature:
-
Import of static type members into namespace
applies to
- static methods of a single class
benefit
- Improves reading of code (for well known static methods/classes)
how to use
- 1) Use include statement with static modifier i.e.
using static <namespace>;
- 2) Omit namespace when referencing static methods.
example: