Referenced assemblies are available to all files in a project. A using
statment merely enables you to refer to a class in an assembly without
typing the full namespace.

Signature
HTH,
Kevin Spencer
Microsoft MVP
Chicken Salad Shooter
http://unclechutney.blogspot.com
A man, a plan, a canal, a palindrome that has.. oh, never mind.
Thanks Kevin,
Actually I meant the referencing of the individual classes in the
namespace.
If i have referanced Namespaces "MyLibrary" and i want to use
MyLibrary.CircleLib in every file in my project. How do i
do it. Do i have to use 'Using MyLibrary.CircleLib' in every file?
In VB i would have just gone to the project properties and added
MyLibrary.CircleLib, which would have set it globally.
I was expected a similar thing in C#? Is it not possible?
Thanks,
Irfan
> Referenced assemblies are available to all files in a project. A using
> statment merely enables you to refer to a class in an assembly without
[quoted text clipped - 9 lines]
>> TIA
>> Irfan
Kevin Spencer - 16 Oct 2006 18:41 GMT
That was because you were referencing a module. While creating modules is
possible in C#, it's not easily done, and that's because it's not a good
idea.

Signature
HTH,
Kevin Spencer
Microsoft MVP
Chicken Salad Shooter
http://unclechutney.blogspot.com
A man, a plan, a canal, a palindrome that has.. oh, never mind.
> Thanks Kevin,
> Actually I meant the referencing of the individual classes in the
[quoted text clipped - 24 lines]
>>> TIA
>>> Irfan
Carl Daniel [VC++ MVP] - 16 Oct 2006 19:34 GMT
> Thanks Kevin,
> Actually I meant the referencing of the individual classes in the
[quoted text clipped - 7 lines]
> MyLibrary.CircleLib, which would have set it globally.
> I was expected a similar thing in C#? Is it not possible?
There's no such facility in any .NET language except VB, as far as I know.
-cd
VICKY - 16 Oct 2006 22:58 GMT
Irfan - 17 Oct 2006 14:04 GMT
thanks for all your replies which cleared my doubt.
irfan
>> Thanks Kevin,
>> Actually I meant the referencing of the individual classes in the
[quoted text clipped - 11 lines]
>
> -cd