Click here to Skip to main content
15,887,596 members
Home / Discussions / C#
   

C#

 
AnswerRe: C# Read random line Pin
OriginalGriff26-Mar-17 21:37
mveOriginalGriff26-Mar-17 21:37 
GeneralRe: C# Read random line Pin
Pavlex426-Mar-17 21:52
Pavlex426-Mar-17 21:52 
GeneralRe: C# Read random line Pin
OriginalGriff26-Mar-17 22:12
mveOriginalGriff26-Mar-17 22:12 
GeneralRe: C# Read random line Pin
Pavlex426-Mar-17 23:41
Pavlex426-Mar-17 23:41 
GeneralRe: C# Read random line Pin
Pete O'Hanlon26-Mar-17 23:45
mvePete O'Hanlon26-Mar-17 23:45 
GeneralRe: C# Read random line Pin
Pavlex427-Mar-17 0:03
Pavlex427-Mar-17 0:03 
GeneralRe: C# Read random line Pin
Pete O'Hanlon27-Mar-17 0:07
mvePete O'Hanlon27-Mar-17 0:07 
AnswerRe: C# Read random line Pin
Luc Pattyn27-Mar-17 11:15
sitebuilderLuc Pattyn27-Mar-17 11:15 
Hi,

if the majority of your application needs to know the file structure, then something is definitely wrong.
At the minimum you should define data structures that reflect the problem domain, read your file once, and stuff all the info into the data structures, then work from there.

However, I would also consider using a database; from what I understood you would need two tables: one for questions, one for the remaining info; and an N-to-1 relationship between them.

Smile | :)
Luc Pattyn [My Articles] Nil Volentibus Arduum

QuestionHow can I create multi-threads application in which each thread have its own WebDriver to do its tasks? Pin
khanhsk26-Mar-17 4:29
khanhsk26-Mar-17 4:29 
AnswerRe: How can I create multi-threads application in which each thread have its own WebDriver to do its tasks? Pin
Dave Kreskowiak26-Mar-17 4:49
mveDave Kreskowiak26-Mar-17 4:49 
GeneralRe: How can I create multi-threads application in which each thread have its own WebDriver to do its tasks? Pin
khanhsk26-Mar-17 23:49
khanhsk26-Mar-17 23:49 
QuestionVisual Studio 2017 problems Pin
zequion25-Mar-17 23:30
professionalzequion25-Mar-17 23:30 
AnswerRe: Visual Studio 2017 problems Pin
Michael_Davies26-Mar-17 0:11
Michael_Davies26-Mar-17 0:11 
AnswerRe: Visual Studio 2017 problems Pin
Richard MacCutchan26-Mar-17 1:37
mveRichard MacCutchan26-Mar-17 1:37 
Questionadd members to a group Pin
Member 1299778224-Mar-17 18:25
Member 1299778224-Mar-17 18:25 
AnswerRe: add members to a group Pin
Richard MacCutchan24-Mar-17 22:59
mveRichard MacCutchan24-Mar-17 22:59 
QuestionMy Downloader Tutorial Using C# and Visual Studio Pin
Member 1306314324-Mar-17 7:31
Member 1306314324-Mar-17 7:31 
AnswerRe: My Downloader Tutorial Using C# and Visual Studio Pin
Pete O'Hanlon24-Mar-17 9:17
mvePete O'Hanlon24-Mar-17 9:17 
RantRe: My Downloader Tutorial Using C# and Visual Studio Pin
Ravi Bhavnani25-Mar-17 9:49
professionalRavi Bhavnani25-Mar-17 9:49 
GeneralRe: My Downloader Tutorial Using C# and Visual Studio Pin
Member 1306314325-Mar-17 15:40
Member 1306314325-Mar-17 15:40 
GeneralRe: My Downloader Tutorial Using C# and Visual Studio Pin
Pete O'Hanlon26-Mar-17 7:25
mvePete O'Hanlon26-Mar-17 7:25 
QuestionVisual studio 2015 addins to edit yaml files Pin
GABII24-Mar-17 4:29
GABII24-Mar-17 4:29 
AnswerRe: Visual studio 2015 addins to edit yaml files Pin
Pete O'Hanlon24-Mar-17 4:44
mvePete O'Hanlon24-Mar-17 4:44 
AnswerRe: Visual studio 2015 addins to edit yaml files Pin
Richard Deeming24-Mar-17 5:50
mveRichard Deeming24-Mar-17 5:50 
QuestionC# WebBrowser Control Pin
Member 231220524-Mar-17 2:25
Member 231220524-Mar-17 2:25 

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.