Article View: borland.public.csharpbuilder.ide.general
Article #40Re: Using Namespace
From: Jorge
Date: Tue, 19 Jul 2005 12:30
Date: Tue, 19 Jul 2005 12:30
36 lines
2379 bytes
2379 bytes
Thanks David. This is the type of feedback I need... I just decided on a whim to try C# without knowing a thing about it. I'm learning the language and the development environment and I appreciate everyone's indulgence though my terminology might not be precise. George "David Clegg" <dclegg@gmail.com> wrote in message news:xn0e4qpnx1suktm00h@newsgroups.borland.com... > Jorge wrote: > >> Since C# Builder is included in D2005, I decided to try my hand at >> it. But I'm having problems understanding how to use a namespace >> created in a separate unit of code. I created a unit of code >> containing a namespace called NETWORKING. I'd like to use members of >> that namespace in a project that I'm coding. > > Is this unit included in the project, or has it been compiled into an > assembly? If the unit is included in the project, then you should be > able to simply use the 'using' directive. If the unit is part of an > assembly, you will need to add a reference to that assembly > (Project|Add Reference...). > > -- > Cheers, > David Clegg > dclegg@gmail.com > > Vote 1 http://cc.borland.com/codecentral/ccweb.exe/listing?id=21489 :-) > Now supports Google Groups searching with Dyna-extend(tm) technology! > > QualityCentral. The best way to bug Borland about bugs. > http://qc.borland.com > > "Here's to alcohol : The cause of, and answer to all of life's > problems." - Homer Simpson
Technical Details
Message-ID:
<42dcf269$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.maxwell.syr.edu!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<42d526bd@newsgroups.borland.com> <xn0e4qpnx1suktm00h@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 165859,8045ed3025c57f00 X-Google-Attributes: gid165859,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Jorge" <georgec20@yahoo.com> Newsgroups: borland.public.csharpbuilder.ide.general References: <42d526bd@newsgroups.borland.com> <xn0e4qpnx1suktm00h@newsgroups.borland.com> Subject: Re: Using Namespace Date: Tue, 19 Jul 2005 08:30:31 -0400 Lines: 38 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 NNTP-Posting-Host: 169.137.18.171 Message-ID: <42dcf269$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1121776233 169.137.18.171 (19 Jul 2005 05:30:33 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.maxwell.syr.edu!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail