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

C#

 
GeneralRe: Optimizing Fibonacci Calculation Pin
PIEBALDconsult20-Apr-13 12:26
mvePIEBALDconsult20-Apr-13 12:26 
GeneralRe: Optimizing Fibonacci Calculation Pin
PIEBALDconsult20-Apr-13 6:24
mvePIEBALDconsult20-Apr-13 6:24 
QuestionC# Program Structure and File Type Advice Pin
Jacob Barton17-Apr-13 0:20
Jacob Barton17-Apr-13 0:20 
AnswerRe: C# Program Structure and File Type Advice Pin
dusty_dex17-Apr-13 0:44
dusty_dex17-Apr-13 0:44 
AnswerRe: C# Program Structure and File Type Advice Pin
Mycroft Holmes17-Apr-13 0:50
professionalMycroft Holmes17-Apr-13 0:50 
GeneralRe: C# Program Structure and File Type Advice Pin
Jacob Barton17-Apr-13 1:35
Jacob Barton17-Apr-13 1:35 
GeneralRe: C# Program Structure and File Type Advice Pin
Mycroft Holmes17-Apr-13 3:29
professionalMycroft Holmes17-Apr-13 3:29 
AnswerRe: C# Program Structure and File Type Advice Pin
Pete O'Hanlon17-Apr-13 1:55
mvePete O'Hanlon17-Apr-13 1:55 
GeneralRe: C# Program Structure and File Type Advice Pin
Jacob Barton17-Apr-13 2:23
Jacob Barton17-Apr-13 2:23 
GeneralRe: C# Program Structure and File Type Advice Pin
Pete O'Hanlon17-Apr-13 2:26
mvePete O'Hanlon17-Apr-13 2:26 
AnswerRe: C# Program Structure and File Type Advice Pin
Orjan Westin17-Apr-13 2:34
professionalOrjan Westin17-Apr-13 2:34 
GeneralRe: C# Program Structure and File Type Advice Pin
Jacob Barton17-Apr-13 3:06
Jacob Barton17-Apr-13 3:06 
AnswerRe: C# Program Structure and File Type Advice Pin
Jasmine250117-Apr-13 5:58
Jasmine250117-Apr-13 5:58 
AnswerRe: C# Program Structure and File Type Advice Pin
Gerry Schmitz17-Apr-13 6:10
mveGerry Schmitz17-Apr-13 6:10 
AnswerRe: C# Program Structure and File Type Advice Pin
jschell17-Apr-13 9:16
jschell17-Apr-13 9:16 
Jacob Barton wrote:
My biggest question is how should I store all of the program data the user
enters


In terms of the application and what you described it probably doesn't matter.

What you should do however is create a persistence layer. That layer is ENTIRELY responsible for taking your data and storing it and retrieving it.

Then you implement one or more of the following.
1. A persistence layer that stores it in xml in a file.
2. A persistence layer that stores it in file using your own format: binary or text.
3. A persistence layer that stores it in some database.

Ideally you should have 1 or 2 along with 3. If you cannot switch them out without modifying the rest of your application (and no tricks involved) then your persistence layer is not clean. Otherwise it is good to go.
AnswerRe: C# Program Structure and File Type Advice Pin
Jacob Barton17-Apr-13 17:03
Jacob Barton17-Apr-13 17:03 
GeneralRe: C# Program Structure and File Type Advice Pin
Orjan Westin17-Apr-13 23:43
professionalOrjan Westin17-Apr-13 23:43 
GeneralRe: C# Program Structure and File Type Advice Pin
Jasmine250118-Apr-13 6:31
Jasmine250118-Apr-13 6:31 
GeneralRe: C# Program Structure and File Type Advice Pin
Gerry Schmitz18-Apr-13 11:15
mveGerry Schmitz18-Apr-13 11:15 
AnswerRe: C# Program Structure and File Type Advice Pin
GuyThiebaut18-Apr-13 0:27
professionalGuyThiebaut18-Apr-13 0:27 
AnswerRe: C# Program Structure and File Type Advice Pin
Clifford Nelson18-Apr-13 5:18
Clifford Nelson18-Apr-13 5:18 
AnswerRe: C# Program Structure and File Type Advice Pin
Jacob Barton19-Apr-13 2:57
Jacob Barton19-Apr-13 2:57 
QuestionThe SetAttribute does not set attribute Pin
Meysam Toluie16-Apr-13 20:22
Meysam Toluie16-Apr-13 20:22 
AnswerRe: The SetAttribute does not set attribute Pin
Jasmine250117-Apr-13 5:45
Jasmine250117-Apr-13 5:45 
GeneralRe: The SetAttribute does not set attribute Pin
Meysam Toluie18-Apr-13 1:30
Meysam Toluie18-Apr-13 1:30 

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.