It seems like you want to convert from object[] to byte[].
I don't know a direct conversion but you could try one of the following 2 workarounds:
1. Copy and convert each array member:
object[] o = new object[1];
byte[] b = new byte[o.Length];
for (int i = 0; i < o.Length; i++)
b[i] =...
Dear C# wizzards out there ...
I want to achieve a maximum of programming/usage comfort and still keep changes locally. Therfore I would like my class to copy the interface of a member object and forward all Property calls to the respective object.
Instead of:
class MyClass
{...
You might want to check out the GruikSoft.ComponentModel which offers a DerivedClassesTypeConverter. I've used it a lot lately and am quite happy with it.
http://stup.org/blogs/nidhogg/posts/277.aspx
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.