Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / November 2006

Tip: Looking for answers? Try searching our database.

Something about using

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
hangaround - 23 Nov 2006 15:38 GMT
I wonder how would the CSharp avoid repeative include Assembly repeatively,  
because we coud using same Assembly in on just one Assembly twice or more.
Kevin Spencer - 23 Nov 2006 17:29 GMT
You could always put all of your classes in one file!

Signature

HTH,

Kevin Spencer
Microsoft MVP
Ministry of Software Development
http://unclechutney.blogspot.com

Never trust a dunderhead with a blunderbuss.

>I wonder how would the CSharp avoid repeative include Assembly repeatively,
> because we coud using same Assembly in on just one Assembly twice or more.
Kevien Lee - 24 Nov 2006 02:33 GMT
You could always put all of your classes in one file!
//In fact,i nearly no put any classes into the same file:)

> You could always put all of your classes in one file!
>
[quoted text clipped - 9 lines]
> >I wonder how would the CSharp avoid repeative include Assembly repeatively,
> > because we coud using same Assembly in on just one Assembly twice or more.- Hide quoted text -- Show quoted text -
Kevin Spencer - 24 Nov 2006 14:30 GMT
> //In fact,i nearly no put any classes into the same file:)

Neither do I. But then, I have no problem with putting using statements into
my code files!

Signature

HTH,

Kevin Spencer
Microsoft MVP
Ministry of Software Development
http://unclechutney.blogspot.com

Never trust a dunderhead with a blunderbuss.

> You could always put all of your classes in one file!
> //In fact,i nearly no put any classes into the same file:)
>
>> You could always put all of your classes in one file!
<snip>
>> >I wonder how would the CSharp avoid repeative include Assembly
>> >repeatively,
>> > because we coud using same Assembly in on just one Assembly twice or
>> > more.- Hide quoted text -- Show quoted text -
Mattias Sjögren - 23 Nov 2006 17:33 GMT
>I wonder how would the CSharp avoid repeative include Assembly repeatively,  
>because we coud using same Assembly in on just one Assembly twice or more.

Not sure I understand the question. But if you're worrying about using
the using statement to import the same namespace in different files in
the same project, you have nothing to worry about. It doesn't cause
multiple references or runtime instances of an assembly or anything
like that (in fact, using has nothing to do with references).

Mattias

Signature

Mattias Sjögren [C# MVP]  mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.

hangaround - 25 Nov 2006 14:51 GMT
> >I wonder how would the CSharp avoid repeative include Assembly repeatively,  
> >because we coud using same Assembly in on just one Assembly twice or more.
[quoted text clipped - 6 lines]
>
> Mattias

Thanks a lot

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.