4 ms·
Another neat tip, you can alias namespaces: using Super.Long.Namespace.Utilities Can be used as: using Utils = Super.Long.Namespace.Utilities Using
by csmattryder 14y ago
Another neat tip, you can alias namespaces:
using Super.Long.Namespace.Utilities
Can be used as:
using Utils = Super.Long.Namespace.Utilities
Using C# since 2.0 and only learned about this a month ago!
- intractable 14y agoThis is one which had escaped me for years: private static bool GreaterThanOne(int @int) { return @int > 1; } However, it would seem to me to fall into the "never, ever use this" category.