dear my problem is as:
class
{
int[] ary;
class(int size)
{
ary=new int[size];
}
void main()
{
class a=new class(5)';
class a1=new class(10);
a=a1;//when this statement exe. it will copy the values of a1 array into a array.not both object point to same memory.
}
}
here the size of 'a' object's array is 5 so it will copy first 5 values of 'a1' object's array.
how can we do it?
plz reply me soon.
Blab-away for as little as 1ยข/min. Make PC-to-Phone Calls using Yahoo! Messenger with Voice.
YAHOO! GROUPS LINKS
- Visit your group "Microsofts_C_Sharp" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
