Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Showing results 1 to 1 of 1
Search took 0.00 seconds.
Search: Posts Made By: ChristianNagel
Forum: BOOK: Professional C# 4.0 and .NET 4 April 15th, 2011, 04:51 PM
Replies: 1
Views: 1,690
Posted By ChristianNagel
an integer consists of 4 bytes. Not sure which...

an integer consists of 4 bytes. Not sure which two of the four you want to ignore. To get four bytes from an integer:

byte[] bytes = BitConverter.GetBytes(number);

Showing results 1 to 1 of 1


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.