What is the difference between “using x.y;” and “using z = x.y;”
using x.y; is just referencing a namespace while using z = x.y; defines an alias.
Eg:
using Microsoft.DirectX;
using DirectX = Microsoft.DirectX;"
No related posts.
Categories: C#
Recent Comments