V
Vannela
I create a instance of a .cs class
in this way
assume Class1.cs is my C# class file
i create a instance in this way
Class1 instance1=new Class1();
THEN IS THERE ANY WAY TO USE THIS INSTANCE VARIABLE TO
CREATE FOR DIFFERENT CLASS OBJECT
FOR EXAMPLE IF I HAVE GOT SOME OTHER CLASS File BY NAME
Class2.cs and there is a function in it by name "funct1"
then i can i say
Class2 instance2 = new Class2();
instance1=instance2.funct1();
Because this is done in the unmanaged code how can i
achieve this concept in C# . Please send me few code
snippets .
Thank you
in this way
assume Class1.cs is my C# class file
i create a instance in this way
Class1 instance1=new Class1();
THEN IS THERE ANY WAY TO USE THIS INSTANCE VARIABLE TO
CREATE FOR DIFFERENT CLASS OBJECT
FOR EXAMPLE IF I HAVE GOT SOME OTHER CLASS File BY NAME
Class2.cs and there is a function in it by name "funct1"
then i can i say
Class2 instance2 = new Class2();
instance1=instance2.funct1();
Because this is done in the unmanaged code how can i
achieve this concept in C# . Please send me few code
snippets .
Thank you