Click here to Skip to main content
15,897,968 members
Home / Discussions / C#
   

C#

 
AnswerRe: how to use the System.IO.IsolatedStorage Pin
Dave Kreskowiak17-Oct-05 5:32
mveDave Kreskowiak17-Oct-05 5:32 
QuestionAdd Command bar in Outlook Pin
Talktorajeev17-Oct-05 1:07
Talktorajeev17-Oct-05 1:07 
QuestionProblem with webservice in production env Pin
Dario Solera17-Oct-05 0:53
Dario Solera17-Oct-05 0:53 
AnswerRe: Problem with webservice in production env Pin
leppie17-Oct-05 0:59
leppie17-Oct-05 0:59 
GeneralRe: Problem with webservice in production env Pin
Dario Solera17-Oct-05 1:03
Dario Solera17-Oct-05 1:03 
GeneralRe: Problem with webservice in production env Pin
Guffa17-Oct-05 1:16
Guffa17-Oct-05 1:16 
QuestionHow to get 4 bytes int from a byte[] array? Pin
rushing17-Oct-05 0:26
rushing17-Oct-05 0:26 
AnswerRe: How to get 4 bytes int from a byte[] array? Pin
Rob Philpott17-Oct-05 0:57
Rob Philpott17-Oct-05 0:57 
If I understand correctly and you're trying to convert from a byte array to primitive integer types, you can use System.BitConverter:
<br />
// data as a byte array<br />
byte[] data = { 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a }; // etc. etc.<br />
<br />
// convert the first 4 bytes to an integer<br />
int length = BitConverter.ToInt32(data, 0);<br />
<br />
// convert the next 4 bytes to integer<br />
int id = BitConverter.ToInt32(data, 4);<br />
<br />
// what is SN?

AnswerRe: How to get 4 bytes int from a byte[] array? Pin
User 665817-Oct-05 3:42
User 665817-Oct-05 3:42 
GeneralRe: How to get 4 bytes int from a byte[] array? Pin
rushing17-Oct-05 16:49
rushing17-Oct-05 16:49 
QuestionOffice Project Problem Pin
Micu Radu16-Oct-05 23:24
Micu Radu16-Oct-05 23:24 
Questiondll calling problem Pin
Mohammad Daba'an16-Oct-05 22:32
Mohammad Daba'an16-Oct-05 22:32 
AnswerRe: dll calling problem Pin
S. Senthil Kumar16-Oct-05 23:01
S. Senthil Kumar16-Oct-05 23:01 
GeneralRe: dll calling problem Pin
Mohammad Daba'an16-Oct-05 23:08
Mohammad Daba'an16-Oct-05 23:08 
GeneralRe: dll calling problem Pin
Dave Kreskowiak17-Oct-05 1:30
mveDave Kreskowiak17-Oct-05 1:30 
GeneralRe: dll calling problem Pin
Mohammad Daba'an17-Oct-05 2:03
Mohammad Daba'an17-Oct-05 2:03 
GeneralRe: dll calling problem Pin
Dave Kreskowiak17-Oct-05 5:29
mveDave Kreskowiak17-Oct-05 5:29 
GeneralRe: dll calling problem Pin
Mohammad Daba'an17-Oct-05 21:59
Mohammad Daba'an17-Oct-05 21:59 
GeneralRe: dll calling problem Pin
Dave Kreskowiak18-Oct-05 15:43
mveDave Kreskowiak18-Oct-05 15:43 
GeneralRe: dll calling problem Pin
Mohammad Daba'an18-Oct-05 20:49
Mohammad Daba'an18-Oct-05 20:49 
GeneralRe: dll calling problem Pin
Mohammad Daba'an19-Oct-05 20:52
Mohammad Daba'an19-Oct-05 20:52 
QuestionDrawImageUnscaled......Scaled? Pin
sduhd16-Oct-05 22:29
sduhd16-Oct-05 22:29 
AnswerRe: DrawImageUnscaled......Scaled? Pin
Dario Solera17-Oct-05 0:45
Dario Solera17-Oct-05 0:45 
QuestionDataGrid's asp:ButtonColumn Pin
Brendan Vogt16-Oct-05 21:25
Brendan Vogt16-Oct-05 21:25 
AnswerRe: DataGrid's asp:ButtonColumn Pin
leppie17-Oct-05 1:04
leppie17-Oct-05 1:04 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.