there are 2 class A and ALib
class A is general class
class ALib is library class
this class call each other...
A call Alib and then method of Alib call method of A....is it possible?
class is like below..
-------------------------------------------------------------------------
using ALib;
Class A
{
A();
funcA1()
{
// here!! use method of Class ALib
ALib alib = new ALib();
// When invoke funcALib of ALib i just wanna call fucnA2 on this
class(classA)
alib. funcALib();
}
funcA2(int a, int b)
{
// to do something
}
}
----------------------------------------------------------------------------
Class ALib
{
ALib();
funcALib()
{
// here!!!
// i just wanna call funcA2 of class A
// but how can i do this...
// should i use event or delegate??
A.funcA2(5,10); <--- i know it is impossible but how can i do this
??
}
}