4
Reply

Passing Data between Classes/Functions

jim last

jim last

Jan 23 2006 10:01 AM
6.2k

Hi,

I'm writing an application that will pass a relatively large amount of data between classes/functions.

In C++ it was more efficient to send a pointer to the object, e.g structure rather than passing the actual structure itself.

Is this true of C# also?

What is the best way to pass a large amount of data with different data types?

e.g object could contain some strings, doubles, bytes etc.

Regards
Macca


Answers (4)