Click here to Skip to main content
15,441,032 members
Home / Discussions / C#
   

C#

 
GeneralRe: Strange behavior of comparison with double.PositiveInfinity Pin
Stefan Troschuetz31-Jul-07 3:11
MemberStefan Troschuetz31-Jul-07 3:11 
GeneralRe: Strange behavior of comparison with double.PositiveInfinity Pin
Luc Pattyn31-Jul-07 3:36
sitebuilderLuc Pattyn31-Jul-07 3:36 
GeneralRe: Strange behavior of comparison with double.PositiveInfinity Pin
Stefan Troschuetz31-Jul-07 4:23
MemberStefan Troschuetz31-Jul-07 4:23 
JokeRe: Strange behavior of comparison with double.PositiveInfinity Pin
Luc Pattyn31-Jul-07 4:36
sitebuilderLuc Pattyn31-Jul-07 4:36 
GeneralRe: Strange behavior of comparison with double.PositiveInfinity Pin
Stefan Troschuetz31-Jul-07 4:41
MemberStefan Troschuetz31-Jul-07 4:41 
GeneralRe: Strange behavior of comparison with double.PositiveInfinity Pin
PhilDanger31-Jul-07 4:54
MemberPhilDanger31-Jul-07 4:54 
GeneralRe: Strange behavior of comparison with double.PositiveInfinity Pin
Stefan Troschuetz31-Jul-07 9:06
MemberStefan Troschuetz31-Jul-07 9:06 
QuestionWriting a Type to Binary File Pin
JamesBarnes31-Jul-07 0:56
MemberJamesBarnes31-Jul-07 0:56 
I want to write a type to a binary file, but the write method only seems to support strings... is there a way i can do this?

Cheers Smile | :)

FileStream fs = new FileStream("weapon.dat",FileMode.OpenOrCreate,FileAccess.ReadWrite);<br />
            BinaryWriter bw = new BinaryWriter(fs);<br />
            BinaryReader br = new BinaryReader(fs);<br />
<br />
            bw.Seek(0, SeekOrigin.End);<br />
            bw.Write(Weapon);<br />

AnswerRe: Writing a Type to Binary File Pin
Luc Pattyn31-Jul-07 1:08
sitebuilderLuc Pattyn31-Jul-07 1:08 
GeneralRe: Writing a Type to Binary File Pin
JamesBarnes31-Jul-07 1:11
MemberJamesBarnes31-Jul-07 1:11 
Questionhow to make sure Socket has connected? Pin
Gavin Roberts31-Jul-07 0:56
MemberGavin Roberts31-Jul-07 0:56 
AnswerRe: how to make sure Socket has connected? Pin
led mike31-Jul-07 4:21
Memberled mike31-Jul-07 4:21 
GeneralRe: how to make sure Socket has connected? Pin
Gavin Roberts31-Jul-07 5:08
MemberGavin Roberts31-Jul-07 5:08 
GeneralRe: how to make sure Socket has connected? Pin
led mike31-Jul-07 5:41
Memberled mike31-Jul-07 5:41 
GeneralRe: how to make sure Socket has connected? Pin
Gavin Roberts31-Jul-07 6:08
MemberGavin Roberts31-Jul-07 6:08 
GeneralRe: how to make sure Socket has connected? Pin
pbraun31-Jul-07 8:45
Memberpbraun31-Jul-07 8:45 
GeneralRe: how to make sure Socket has connected? Pin
led mike31-Jul-07 9:06
Memberled mike31-Jul-07 9:06 
QuestionUnrecognized attribute 'xmlns' Pin
kalyan_241631-Jul-07 0:46
Memberkalyan_241631-Jul-07 0:46 
AnswerRe: Unrecognized attribute 'xmlns' Pin
Vasudevan Deepak Kumar31-Jul-07 0:58
MemberVasudevan Deepak Kumar31-Jul-07 0:58 
AnswerRe: Unrecognized attribute 'xmlns' Pin
prasanna muthuramalingam31-Jul-07 1:42
Memberprasanna muthuramalingam31-Jul-07 1:42 
GeneralRe: Unrecognized attribute 'xmlns' Pin
kalyan_241631-Jul-07 1:52
Memberkalyan_241631-Jul-07 1:52 
QuestionHow to get installed products on a system Pin
Yosh_31-Jul-07 0:41
professionalYosh_31-Jul-07 0:41 
AnswerRe: How to get installed products on a system Pin
Luc Pattyn31-Jul-07 1:00
sitebuilderLuc Pattyn31-Jul-07 1:00 
GeneralRe: How to get installed products on a system Pin
Yosh_1-Aug-07 3:41
professionalYosh_1-Aug-07 3:41 
GeneralRe: How to get installed products on a system Pin
Luc Pattyn1-Aug-07 3:53
sitebuilderLuc Pattyn1-Aug-07 3:53 

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.