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

C#

 
GeneralRe: working out a triangle hypotenuse Pin
Anurag Sinha V11-Sep-13 0:39
Anurag Sinha V11-Sep-13 0:39 
AnswerRe: working out a triangle hypotenuse Pin
BillWoodruff12-Sep-13 16:33
professionalBillWoodruff12-Sep-13 16:33 
QuestionC# Pin
Member 1026649410-Sep-13 23:11
Member 1026649410-Sep-13 23:11 
AnswerRe: C# Pin
Pete O'Hanlon10-Sep-13 23:19
mvePete O'Hanlon10-Sep-13 23:19 
GeneralRe: C# Pin
Member 1026649411-Sep-13 0:27
Member 1026649411-Sep-13 0:27 
GeneralRe: C# Pin
Pete O'Hanlon11-Sep-13 1:38
mvePete O'Hanlon11-Sep-13 1:38 
GeneralRe: C# Pin
Member 1026649411-Sep-13 1:59
Member 1026649411-Sep-13 1:59 
GeneralRe: C# Pin
Pete O'Hanlon11-Sep-13 2:51
mvePete O'Hanlon11-Sep-13 2:51 
Then, realistically speaking, you're stuffed. Without a basic understanding of the language, you aren't going to be able to write something that fulfils the criteria you laid out. Theoretically, you could do all of this procedurally in the Main method, but as that violates what I'm assuming the test is about, you would fail. At a high level, I would expect that they are looking at using an architecture similar to this:

A class that encapsulates a point (perhaps you could call it Point).
A class that, given a CSV file, would read it in and return a list of these points

Where it gets more subjective is, do you put the calculation of the distance into the point class, or is it in the class that contains the points? I'll leave you to decide that one.

What I wouldn't be worrying about here is superclass x or subclass y. That's irrelevant for a task like this.

GeneralRe: C# Pin
Keith Barrow11-Sep-13 2:20
professionalKeith Barrow11-Sep-13 2:20 
GeneralRe: C# Pin
Member 1026649411-Sep-13 1:34
Member 1026649411-Sep-13 1:34 
QuestionlistViewNV_KeyPress function it does not run ? Pin
Member 245846710-Sep-13 22:51
Member 245846710-Sep-13 22:51 
AnswerRe: listViewNV_KeyPress function it does not run ? Pin
Richard MacCutchan10-Sep-13 23:04
mveRichard MacCutchan10-Sep-13 23:04 
Questionhow can I access to a DGV column contents? Pin
babak1410-Sep-13 20:59
babak1410-Sep-13 20:59 
AnswerRe: how can I access to a DGV column contents? Pin
OriginalGriff10-Sep-13 21:49
mveOriginalGriff10-Sep-13 21:49 
GeneralRe: how can I access to a DGV column contents? Pin
babak1410-Sep-13 22:47
babak1410-Sep-13 22:47 
GeneralRe: how can I access to a DGV column contents? Pin
OriginalGriff10-Sep-13 23:10
mveOriginalGriff10-Sep-13 23:10 
GeneralRe: how can I access to a DGV column contents? Pin
babak1411-Sep-13 1:29
babak1411-Sep-13 1:29 
GeneralRe: how can I access to a DGV column contents? Pin
OriginalGriff11-Sep-13 2:23
mveOriginalGriff11-Sep-13 2:23 
Questiondisplay loading processes on SplashScreen Pin
Jassim Rahma10-Sep-13 10:15
Jassim Rahma10-Sep-13 10:15 
AnswerRe: display loading processes on SplashScreen Pin
SledgeHammer0110-Sep-13 10:26
SledgeHammer0110-Sep-13 10:26 
AnswerRe: display loading processes on SplashScreen Pin
Mycroft Holmes10-Sep-13 15:00
professionalMycroft Holmes10-Sep-13 15:00 
QuestionHow can I solve this error : " Provided column already belongs to the DataGridView control" Pin
babak1410-Sep-13 7:14
babak1410-Sep-13 7:14 
AnswerRe: How can I solve this error : " Provided column already belongs to the DataGridView control" Pin
Richard Deeming10-Sep-13 7:22
mveRichard Deeming10-Sep-13 7:22 
GeneralRe: How can I solve this error : " Provided column already belongs to the DataGridView control" Pin
babak1410-Sep-13 8:03
babak1410-Sep-13 8:03 
GeneralRe: How can I solve this error : " Provided column already belongs to the DataGridView control" Pin
babak1410-Sep-13 8:16
babak1410-Sep-13 8:16 

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.