Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Range from an array of bytes
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00954546
Message ID:
00954831
Views:
10
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform