Function pointers?
Hey,
I have some code in C, that I would like to get working in C#. Im assuming its possible using delegates however im not quite sure how. The code I would like to get working is something like:
int ( *function )();
so that I could now do
int retVal = (*function) ( test );
int test ( )
{
return ( 5 );
}
I hope this is clear enough. Thanks in advance.
kyle_hankinsonPosted Dec 12, 2004, 2:40 PM
MykoninePosted Dec 11, 2004, 9:29 PM
MykoninePosted Dec 11, 2004, 9:28 PM