Click here to Skip to main content
15,911,890 members
Home / Discussions / C#
   

C#

 
AnswerRe: accessing public static member of one class in another class Pin
Richard MacCutchan4-Jul-14 0:48
mveRichard MacCutchan4-Jul-14 0:48 
Questionmoving slideshow Pin
Member 109229203-Jul-14 8:36
Member 109229203-Jul-14 8:36 
AnswerRe: moving slideshow Pin
User 48350473-Jul-14 9:22
User 48350473-Jul-14 9:22 
QuestionMongo DB Projection from C# Pin
Ennis Ray Lynch, Jr.3-Jul-14 8:22
Ennis Ray Lynch, Jr.3-Jul-14 8:22 
AnswerRe: Mongo DB Projection from C# Pin
Richard Deeming3-Jul-14 8:47
mveRichard Deeming3-Jul-14 8:47 
GeneralRe: Mongo DB Projection from C# Pin
Ennis Ray Lynch, Jr.3-Jul-14 9:20
Ennis Ray Lynch, Jr.3-Jul-14 9:20 
QuestionInternet Cafe Management System Pin
Abdul-Qaadir2-Jul-14 10:14
Abdul-Qaadir2-Jul-14 10:14 
AnswerRe: Internet Cafe Management System Pin
Eddy Vluggen2-Jul-14 12:39
professionalEddy Vluggen2-Jul-14 12:39 
QuestionCannot convert lambda expression to type 'System.Collections.Generic.IEqualityComparer' because it is not a delegate type Pin
caguas2-Jul-14 7:04
caguas2-Jul-14 7:04 
AnswerRe: Cannot convert lambda expression to type 'System.Collections.Generic.IEqualityComparer' because it is not a delegate type Pin
Richard Deeming2-Jul-14 9:42
mveRichard Deeming2-Jul-14 9:42 
GeneralRe: Cannot convert lambda expression to type 'System.Collections.Generic.IEqualityComparer' because it is not a delegate type Pin
caguas3-Jul-14 6:46
caguas3-Jul-14 6:46 
QuestionHow to solve (Use of unassigned local variable) Pin
Jassim Rahma2-Jul-14 0:25
Jassim Rahma2-Jul-14 0:25 
AnswerRe: How to solve (Use of unassigned local variable) Pin
Pete O'Hanlon2-Jul-14 0:43
mvePete O'Hanlon2-Jul-14 0:43 
GeneralRe: How to solve (Use of unassigned local variable) Pin
Jassim Rahma2-Jul-14 0:54
Jassim Rahma2-Jul-14 0:54 
AnswerRe: How to solve (Use of unassigned local variable) Pin
Shameel2-Jul-14 1:01
professionalShameel2-Jul-14 1:01 
GeneralRe: How to solve (Use of unassigned local variable) Pin
Pete O'Hanlon2-Jul-14 1:11
mvePete O'Hanlon2-Jul-14 1:11 
Questioncode Pin
Member 109187741-Jul-14 23:34
Member 109187741-Jul-14 23:34 
AnswerRe: code Pin
V.1-Jul-14 23:46
professionalV.1-Jul-14 23:46 
AnswerRe: code Pin
Pete O'Hanlon2-Jul-14 0:23
mvePete O'Hanlon2-Jul-14 0:23 
Actually, this is quite an interesting question. On the surface, it seems pretty straightforward, but in reality you can learn a lot from it. Let's start by examining your requirements - you want to open a file, retrieve the contents and put them into a linked list. First of all, what part of the contents do you want to put into each node of the list? Is it a line per node? A paragraph? Does the file contain text? Is it binary?

Assuming, for the sake of argument, that you want to read a text file in and store each line in a new node, how would you actually design this? Would you have a single class that did all the work? Well, I wouldn't, as that would be violating single responsibility, so you would probably want to separate out the file handling side from the linked list management side. Possibly use an event to signal to the linked list that it needs to add a new node. I hope that this helps give you some food for thought.
AnswerRe: code Pin
Yang Kok Wah2-Jul-14 7:30
Yang Kok Wah2-Jul-14 7:30 
QuestionC# Printer Status Pin
Zeyad Jalil1-Jul-14 22:06
professionalZeyad Jalil1-Jul-14 22:06 
AnswerRe: C# Printer Status Pin
Duncan Edwards Jones1-Jul-14 22:20
professionalDuncan Edwards Jones1-Jul-14 22:20 
AnswerRe: C# Printer Status Pin
Kornfeld Eliyahu Peter1-Jul-14 22:21
professionalKornfeld Eliyahu Peter1-Jul-14 22:21 
Questionc# to control microphone volume Pin
NAVIN KUMAR RAMASWAMY1-Jul-14 4:08
NAVIN KUMAR RAMASWAMY1-Jul-14 4:08 
AnswerRe: c# to control microphone volume Pin
Pete O'Hanlon1-Jul-14 4:24
mvePete O'Hanlon1-Jul-14 4:24 

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.