Re: Fully qualified names

From: Nick Malik [Microsoft] (nickmalik_at_hotmail.nospam.com)
Date: 01/10/05


Date: Mon, 10 Jan 2005 06:41:45 -0800

OK, I hate to recommend this, but...

Can you change your namespace, in your app, so that the word "System" is not
part of it?

I guess my thinking is this: we work around "reserved words" all the time.
You ran into one in a place you didn't expect, but that doesn't mean you
can't work around it in the same way. I'm not making excuses... perhaps my
perspective is just different.

-- 
--- Nick Malik [Microsoft]
    MCSD, CFPS, Certified Scrummaster
    http://blogs.msdn.com/nickmalik
Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
   I do not answer questions on behalf of my employer.  I'm just a
programmer helping programmers.
--
"fc2" <fc2@tytte.dk> wrote in message
news:1105352804.328846.64670@c13g2000cwb.googlegroups.com...
> Ok, but still I ought to always be able to use the fully qualified name
> (to explicitly state my intentions).
>
> The situation is further complicated by the fact the MS VS .NET
> generates some classes behind my back (for accessing resources and for
> settings). The generated code uses fully qualified names to system
> libraries and this code won't compile either (unless i change it
> manually which is a no-no) since it also tries to find system classes
> inside Foo (probably because they are part of the same compilation
> unit).
>
>
> /fc2
>


Relevant Pages

  • Re: How to get LastAccessTime of a file without modifying it?
    ... it didn't compile. ... LastAccessTime property worked properly and did not return today's date on ... I do not answer questions on behalf of my employer. ... >> programmer helping programmers. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Whats the deal here
    ... >I am trying to compile my project with ... Then name the SNK file in the project attributes ... I do not answer questions on behalf of my employer. ... programmer helping programmers. ...
    (microsoft.public.dotnet.general)
  • Re: general strong name question
    ... If you code a new version and you want your older apps to use it, ... I do not answer questions on behalf of my employer. ... programmer helping programmers. ... > How can I compile a new version of my component without compile the ...
    (microsoft.public.dotnet.general)
  • Re: Controlling Visual Studio .NET
    ... You are using a common template to create 120+ assemblies. ... Your app is asked to begin, and must create and compile these assemblies, ... I do not answer questions on behalf of my employer. ... >> programmer helping programmers. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Upd SQL Srvr table with text file
    ... read from one database and write to another. ... I do not answer questions on behalf of my employer. ... > get the data set from the text retrieval into a data set to update the SQL ... >> programmer helping programmers. ...
    (microsoft.public.dotnet.languages.vb)