Re: newbie to .net

From: Colin Jack (colin.jack_at_ed.tadpole.com)
Date: 04/19/04


Date: Mon, 19 Apr 2004 10:48:07 +0100

Hi,

I'm not sure that this is what your looking for but if you select a project
in "Solution Explorer" in Visual Studio .NET and select "Properties" then
the default namespace for files that you add to the project is in "Common
Properties\General". And if you dont specify a namespace for an item then
it ends up in the global namespace.

I have a feeling that isnt what your looking for and that Michaels post will
be more use to you but you never know... :)

Ta,

Colin

"sai" <anonymous@discussions.microsoft.com> wrote in message
news:9BC322AB-9DB0-4F72-9DCC-0E871984DE52@microsoft.com...
>
>
> 1)what is the default namespace?
>
> 2?)what is the difference between a property and field?
>
> 3) what is the difference betwen creating an object on stack and heap in
.net?
>
> 4) what is the diferecne betweeen close and dispose methods?
>



Relevant Pages

  • Converting VC++ 6.0 executable code to .Net DLL
    ... environment (Visual Studio 2005). ... Anyhow, the environment generated a main class for me, shown below, as ... belong to any namespace, as is just a large collection of classes developed ... What would I need to do to export my C++ interfaces? ...
    (microsoft.public.dotnet.languages.vc)
  • Re: Error messages due to conversion from older ASP.Net
    ... C# and Visual Studio 5. ... holding me back from loading the website changes. ... Error 1 A namespace does not directly contain members such as fields or ... Error 2 Expected class, delegate, enum, interface, or struct ...line 28 ...
    (microsoft.public.dotnet.languages.csharp)
  • Error messages due to conversion from older ASP.Net
    ... C# and Visual Studio 5. ... holding me back from loading the website changes. ... Error 1 A namespace does not directly contain members such as fields or ... Error 2 Expected class, delegate, enum, interface, or struct ...line 28 ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: How do I reference my new class?
    ... that the src references. ... Everything has the same namespace. ... I need to say that it was working until I took Visual Studio out of the ... picture. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: custom namespaces
    ... > use the class with the error the namespace can't be found. ... > Visual Studio. ... > I've been told I somehow need to add a reference to my namespace if I was using Visual ... > Studio, but I don't have it, nor a command line compiler. ...
    (microsoft.public.dotnet.framework.aspnet)