Re: Assigning "this"

Tech-Archive recommends: Speed Up your PC by fixing your registry




Again, this is a small example. In my case, I have about twenty variables
that I'd like to reassign. Is it just possible to reassign "this?"

Only inside a constructor of a struct IIRC. Not for classes.


Mattias

--
Mattias Sjögren [C# MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
.



Relevant Pages

  • Re: turn off "Load(import) image dialog" in the registry
    ... Hi Mattias, ... >> Alex Dybenko (MVP) ... >>> Or is there any possibility to run a script or something after inalling ...
    (microsoft.public.access.devtoolkits)
  • Re: String empty test
    ... William Stacey, MVP ... "Andreas Håkansson" wrote in message ... > shorter IL), or other nice features with it? ... > "Mattias Sjögren" skrev i meddelandet ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: writing a compiler
    ... MVP - C# ... "Compiling for the .NET Common Language Runtime" by John Gough ... "Inside Microsoft .NET IL Assembler" by Serge Lidin ... Mattias Sjögren mattias @ mvps.org ...
    (microsoft.public.dotnet.framework.clr)
  • Re: Transfer string data to unmanaged buffer
    ... Mattias Sjögren [C# MVP] mattias @ mvps.org ... Nice reference to books on interop on your site. ... ..NET 2.0 Interop Recipes. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Force the user to do something before the form updates!?
    ... MVP ... >Private Sub Form_BeforeUpdate ... >> Mattias wrote: ... If onother employee did change the record yesterday!? ...
    (microsoft.public.access.formscoding)