Click here to Skip to main content
15,894,720 members
Home / Discussions / C#
   

C#

 
Questioneliminate 50Hz noise in ECG.. Pin
ashwiny9-Sep-07 16:33
ashwiny9-Sep-07 16:33 
AnswerRe: eliminate 50Hz noise in ECG.. Pin
I.explore.code9-Sep-07 19:04
I.explore.code9-Sep-07 19:04 
Questionseparating Enum types Pin
Amar Chaudhary9-Sep-07 11:12
Amar Chaudhary9-Sep-07 11:12 
AnswerRe: separating Enum types Pin
Colin Angus Mackay9-Sep-07 13:27
Colin Angus Mackay9-Sep-07 13:27 
AnswerRe: separating Enum types Pin
Amar Chaudhary9-Sep-07 13:28
Amar Chaudhary9-Sep-07 13:28 
QuestionDataGridView Pin
Assaf829-Sep-07 11:00
Assaf829-Sep-07 11:00 
QuestionRe: DataGridView Pin
T.EDY9-Sep-07 18:36
T.EDY9-Sep-07 18:36 
QuestionRe: DataGridView [modified] Pin
Assaf829-Sep-07 19:26
Assaf829-Sep-07 19:26 
AnswerRe: DataGridView [modified] Pin
T.EDY9-Sep-07 19:49
T.EDY9-Sep-07 19:49 
Questionarray of bit in c#.... Pin
mr.mohsen9-Sep-07 10:45
mr.mohsen9-Sep-07 10:45 
AnswerRe: array of bit in c#.... [modified] Pin
Jelle Hissink9-Sep-07 10:54
Jelle Hissink9-Sep-07 10:54 
AnswerRe: array of bit in c#.... Pin
Nissim Salomon9-Sep-07 11:01
Nissim Salomon9-Sep-07 11:01 
AnswerRe: array of bit in c#.... Pin
Istvan40411-Sep-07 2:03
Istvan40411-Sep-07 2:03 
QuestionSerialization vs Binary File Pin
Mark F.9-Sep-07 10:35
Mark F.9-Sep-07 10:35 
AnswerRe: Serialization vs Binary File Pin
Jelle Hissink9-Sep-07 10:52
Jelle Hissink9-Sep-07 10:52 
Mark,

BinaryReader/Writer should be much faster, however as you are using it only on a small settings file that will propably only be read at startup and saved only when the user changes something. The BinaryFormatter should be fine.

However writing your own file format is somewhat additional work, it simplify upgrades of your software. The formatter might fail when you add, change or remove fields in your settings.

Why can't you use System.Configuration do the work for you, it was made to handle settings (stored in .config files so you can put them on your USB stick).

Regards,
Jelle Hissink



GeneralRe: Serialization vs Binary File Pin
Mark F.9-Sep-07 11:30
Mark F.9-Sep-07 11:30 
GeneralRe: Serialization vs Binary File Pin
Jelle Hissink9-Sep-07 12:06
Jelle Hissink9-Sep-07 12:06 
QuestionMIDI Keyboard Communication Pin
max292979-Sep-07 9:32
max292979-Sep-07 9:32 
AnswerRe: MIDI Keyboard Communication Pin
Giorgi Dalakishvili9-Sep-07 9:41
mentorGiorgi Dalakishvili9-Sep-07 9:41 
GeneralRe: MIDI Keyboard Communication Pin
max292979-Sep-07 15:18
max292979-Sep-07 15:18 
QuestionData Optimisation Pin
Glenn Van Beneden9-Sep-07 9:30
Glenn Van Beneden9-Sep-07 9:30 
AnswerRe: Data Optimisation Pin
Christian Graus9-Sep-07 9:46
protectorChristian Graus9-Sep-07 9:46 
AnswerRe: Data Optimisation Pin
Tom Jepp9-Sep-07 10:03
Tom Jepp9-Sep-07 10:03 
AnswerRe: Data Optimisation Pin
Luc Pattyn9-Sep-07 10:19
sitebuilderLuc Pattyn9-Sep-07 10:19 
AnswerRe: Data Optimisation Pin
Guffa9-Sep-07 10:47
Guffa9-Sep-07 10:47 

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.