S
Serge Blokhin
Hi everyone,
I have a newbie question,
Say I have :
-----------------------------
class Class1 {
private int field1;
private string field2;
}
class Class2 {
public bool func1( Class1 cls1){
return (cls1 == null);
}
}
------------------------------
as I understand when func1 gets control cls1 gets cloned? I mean
finally i get 2 identical objects, one inside of function scope and
one outside?
Did I understand it correctly?
Serge
I have a newbie question,
Say I have :
-----------------------------
class Class1 {
private int field1;
private string field2;
}
class Class2 {
public bool func1( Class1 cls1){
return (cls1 == null);
}
}
------------------------------
as I understand when func1 gets control cls1 gets cloned? I mean
finally i get 2 identical objects, one inside of function scope and
one outside?
Did I understand it correctly?
Serge