Re: I really hate .NET especially inside Delphi



will that not have to change with partial classes ?

Both parts of a partial class will have to be in the same namespace, as
you might imagine, yes.

I've read http://www.drbob42.com/examines/examin82.htm

It is confusing to see that if you use the namespace, you get the whole
partial class, but if you use one of it units, you get only a part of the
partial class. That is perfectly logical, but it also shows how confusing it
is to have two almost (!) identical solutions (units & namespaces) for a
single problem in the same product.

Rick


.



Relevant Pages

  • Re: I really hate .NET especially inside Delphi
    ... you might imagine, yes. ... It is confusing to see that if you use the namespace, you get the whole partial class, but if you use one of it units, you get only a part of the ... but it also shows how confusing it is to have two almost identical solutions for a single problem in the same product. ...
    (borland.public.delphi.non-technical)
  • Re: Forms and namespaces in vb.net
    ... I think it would be confusing to have forms with the same name ... for the partial class created with designer code in int. ... What is the best way to assign a form to a namespace in VB.NET with VS ... Thx ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: Hiding MDI forms
    ... I try to avoid the my namespace, it is mainly created for VB6 developers, ... This msdn page is in my idea confusing. ... And again, once it hides the first form, it bombs ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Not able to put class into namespace
    ... asp.net uses partial the partial class model to combine the codebenind file and the class file generated by the page compile. ... if the namspace of the page (which defines the control names) is different then the namespace in codebehind, then you need to fully qualify the control names as they are in a differnt namespace. ... You could also make the namespace of the page match the codebehind namespace via the ClassName in the directive. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Master Page properties
    ... Control.ascx.vb (user Control) ... Namespace TEST ... Partial Class Master ...
    (microsoft.public.dotnet.framework.aspnet)