Looking for c# Answers? Try Ask4KnowledgeBase
Looking for c# Keywords? Try Ask4Keywords

C# Language Associate an Alias with a Namespace


using st = System.Text;
//allows you to access classes within this namespace such as StringBuilder
//prefixing them with only the defined alias and not the full namespace.  i.e:

var sb = new st.StringBuilder();
//instead of
var sb = new System.Text.StringBuilder();