Using alias directives
suggest changeYou can use using in order to set an alias for a namespace or type. More detail can be found here.
Syntax:
using <identifier> = <namespace-or-type-name>;
Example:
using NewType = Dictionary<string, Dictionary<string,int>>;
NewType multiDictionary = new NewType();
// Use the alias as you would the original type
multiDictionary.Add("test", new Dictionary<string,int>());
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents