Re: Passing a (Generic) Stack by Reference

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Mahmoud Al-Qudsi <mqudsi@xxxxxxxxx> wrote:
I'm clear on what (and how) it is happening (thanks to painful years
of C++ coding), just not sure how to tell beforehand if it would
happen or not.

You just need to know whether you're dealing with a reference type (a
class/delegate/array/interface) or a value type (a struct/enum).


--
Jon Skeet - <skeet@xxxxxxxxx>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too
.



Relevant Pages

  • Re: error very strange
    ... I am coding it as a window application, ... If you modify that value, ... Now, if I were a reference type, you'd be modifying the value *referred ...
    (microsoft.public.dotnet.languages.csharp)
  • Syntax errors and coding
    ... I am coding in asp and I continue to fight syntax errors when dealing with ... I have gotten books and searched the internet, ... Is there a site with examples of data syntax when dealing response.write, ... sql coding, etc. that shows text, date and numeric variable examples? ...
    (microsoft.public.frontpage.client)
  • Re: md5 collision
    ... >> beforehand. ... Then you would be dealing with the second case. ... >creation of the first file. ... Eg, lets say you take the MD5 of the first file and place that byte at the end of the second, ...
    (comp.os.linux.security)
  • Re: function not defined
    ... "cleys" writes: ... You do not need math.abswhen dealing with integers you know ... beforehand to be positive. ... You have a strange number of braces, leading me to conclue the error ...
    (comp.lang.java.programmer)
  • Re: Syntax errors and coding
    ... > I am coding in asp and I continue to fight syntax errors when dealing with ... > Is there a site with examples of data syntax when dealing response.write, ... > sql coding, etc. that shows text, date and numeric variable examples? ...
    (microsoft.public.frontpage.client)