xScatta xScatta -4 years ago 253
C# Question

C#, how to escape from subtract symbol in reference

How can i use reference .dll with an ' - ' symbol?
Because i've got an DLL named "Assembly-CSharp.dll" and i don't know how to use it because code is reading only 'Assembly'


using Assembly-CSharp

Answer Source

NO, you don't need to say using Assembly-CSharp.dll rather you should include the NameSpace defined by that dll using the using directive. So if that dll defines a namespace like Assembly.CSharp.Drivers then

using Assembly.CSharp.Drivers;
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download