Using alias directives

suggest change

You can use using in order to set an alias for a namespace or type. More detail can be found in here.


using <identifier> = <namespace-or-type-name>;


using NewType = Dictionary<string, Dictionary<string,int>>;
NewType multiDictionary = new NewType();
//Use instances as you are using the original one
multiDictionary.Add("test", new Dictionary<string,int>());

Feedback about page:

Optional: your email if you want me to get back to you:

Table Of Contents