const byte[] ?

R

Romain TAILLANDIER

Hi group

How i can do that ?
public const byte[] B = new byte[] {0x01,0x02,0x03}

// compile error : expression must be constant.
I try a other declaration, but no results.

for the moment i make it readonly, but it is a little different ...
thanks

ROM
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top