Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Range from an array of bytes
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00954546
Message ID:
00954831
Vues:
11
Rick,
That was just what I needed. The funny thing is that I was looking at the Array.Copy method but couldn't find an overload that suited my needs :)
Again thanks for the solution.

Sincerely,
Einar

>
>Array.Copy should do this for you:
>
>          byte[] Values = new Byte[4] { 0,49,50,51 };
>          byte[] Values2 = new Byte[2];
>          Array.Copy( Values,1,Values2,0,2);
>         Console.Write ( System.Text.Encoding.Default.GetString(Values2,0,2));
>
>
>+++ Rick ---
Semper ubi sub ubi.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform