Skip to content Skip to sidebar Skip to footer

How To Return Different Types Of Arrays?

The high level problem I'm having in C# is to make a single copy of a data structure that describes a robot control network packet (Ethercat), and then to use that single data stru

Solution 1:

The answer is to store the arrays in a collection of type List<dynamic>

The return type of function that returns elements from the collection should also be dynamic.

Here is the more complete answer to my miss-understood question which this one attempted to clarify.

Post a Comment for "How To Return Different Types Of Arrays?"