Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Newby Question
Message
De
08/10/2004 22:18:28
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Divers
Thread ID:
00950103
Message ID:
00950110
Vues:
18
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
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform