G
Guest
i have two classes...
public class1{
// properties
class2 copy;
}
public class2{
// properties
create copy of class1;
}
i got error in class1 that "class2 is undefined"... however intelli show
shoutcut of class2. if compiler goes step by step; while declaring class1 it
is possible to be class2 undefined but it is too moronish...
how could i solve it ???
ps: if i take class1 bottom of class2 then it says that class1 is undefined
public class1{
// properties
class2 copy;
}
public class2{
// properties
create copy of class1;
}
i got error in class1 that "class2 is undefined"... however intelli show
shoutcut of class2. if compiler goes step by step; while declaring class1 it
is possible to be class2 undefined but it is too moronish...
how could i solve it ???
ps: if i take class1 bottom of class2 then it says that class1 is undefined