.net - What is Aliases for in reference properties in Visual Studio? -
Expand in the Visual Studio in your C # project reference folder. Then see the properties of any reference. You will see the property of surnames there. The value of the property in the project is "global".
Can anyone tell me that this property is for whom and how can I use it?
Thank you.
This is an estimate but it is similar to this part of the code.
MyNameSpace = MyCompany.MyProject.MyLibrary;
It is the idea that name space name is to avoid conflict.
"Global" is used to separate your assembly from the same namespace to the structure.
Say your console also has a console class & amp; Your css file contains references to your library and mscorlib.dll. And, if you If you want to use Net Frame Console class, you can type global :: system.Console.WriteLine ("Hello");
You can also do this in the following situations, following.
using myConsole = MyLibrary.Console; Using FwkConsole = global :: system.Console;
Friends, if I have misunderstood this question, then correct me.
Comments
Post a Comment