Hi,
It's a subtle differece , for one of the best explanation aroudn read this :
http://www.yoda.arachsys.com/csharp/parameters.html
in short the difference is that when use the "ref" you can change to what
instance the variable EMP1 refers to.
and in both cases you can change the instance reference by EMP1.
read the article, it's crystal clear there.
cheers,
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"RicercatoreSbadato" <Ri****************@nomail.it> wrote in message
news:X1*******************@tornado.fastwebnet.it.. .
What's happen exactly when I pass a Bitmap to a function in this way:
text_localization(EMP1);
public Bitmap text_localization( Bitmap EMP1 ) {}
??
It's the same thing to do this?
text_localization(ref EMP1);
public Bitmap text_localization( ref Bitmap EMP1 ) {}
--
RicercatoreSbadato