Yes, the
byte[ ] is an array of bytes, you were correct.
The out specifies that the parameter is an output parameter (named outbuff, of an array of bytes).
Do you have the Visual Studio documentation? This stuff is pretty easy to find there. =) Probably easier than waiting for me to answer you (when it's almost dinner-time!! <g> ... well, it's a late dinner for me tonite).
~~Bonnie
>Ok, I'm sort there in this.
>
>I have a new CSharp book, which I'm going through. Some of it is
>high & wide to me, but I understand most of the examples, with
>exceptions noted here. Talking theory to me is ok, but seeing
>code samples really works.
>
>I took a Visual C++ class many, many moons ago, so it's like
>dusting off the cobwebs here.
>
>Next questions:
>
>In this next code snippet, I understand the concept of
>interfaces, and a sample from the book is pasted here.
>
>The parameter statements are giving me trouble.
>
>What's the
byte[ ]? This is an array of bytes?
>
>And, the
out byte[ ] outbuff is throwing me also.
>
>
>interface iSecret
> {
> void Encrypt(byte[ ] inbuf, out byte[ ] outbuff, Key key);
> void Unecrypt(byte[ ] inbuf, out byte[ ] outbuff, Key key);
> }
>
>
>Many thanks