List Info

Thread: >>> i have an idea about MS VS.NET, and wonder yours.....




>>> i have an idea about MS VS.NET, and wonder yours.....
user name
2006-07-06 20:26:29
The using statement does not include anything.  It just
allows you to refer to objects and methods without using
their fully qualified names.  It is the adding of a
reference to your project that includes the library.

So, in short, you do not *have* to type a using statement:
but if you don't, you'll have to use fully qualified names
everywhere.

Including all namespaces is impractical because there will
be name clashes if you do and the compiler won't know which
class you want to use.  That's the whole point of
namespaces - to disambiguate name clashes.

HTH


Peter


-----Original Message-----
From:	CSDevelopersgooglegroups.com on behalf of < g n d z
k d r >
Sent:	Thu 7/6/2006 9:10 PM
To:	C# Developers
Cc:	
Subject:	>>> i have an idea about MS VS.NET, and
wonder yours.....


while programmers coding their programmes in MS VS.NET, when
they want
to use a library (i mean namespace) they must add it top of
the form
before using its classes,methods,..

==> for example in C#.Net

using System.IO;

------------------------------------------------------------
-------

my offer is,

if programmers could use all .net framework namespaces
without adding
its defination to top of form, and while compiling the
programme, the
compiler checks the codes and adds the definations of
namespaces that
programme needs, and clear the definations no needs(before
added by
programme and now user dont used its classes, methods,... )

------------------------------------------------------------
--------

so, programmers win time....

------------------------------------------------------------
-------

what do u think, please say your opinion


thnks for now








--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "C# Developers" group.
To post to this group, send email to CSDevelopersgooglegroups.com
To unsubscribe from this group, send email to
CSDevelopers-unsubscribegooglegroups.com
For more options, visit this group at http://gr
oups.google.com/group/CSDevelopers
-~----------~----~----~----~------~----~------~--~---
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )