Click here to Skip to main content
16,007,885 members
Home / Discussions / C#
   

C#

 
GeneralRe: The grade of this programming Pin
Member 112935288-Feb-15 20:57
Member 112935288-Feb-15 20:57 
GeneralRe: The grade of this programming Pin
OriginalGriff8-Feb-15 21:28
mveOriginalGriff8-Feb-15 21:28 
GeneralRe: The grade of this programming Pin
OriginalGriff8-Feb-15 22:35
mveOriginalGriff8-Feb-15 22:35 
AnswerRe: The grade of this programming Pin
V.8-Feb-15 20:52
professionalV.8-Feb-15 20:52 
GeneralRe: The grade of this programming Pin
Member 112935288-Feb-15 21:10
Member 112935288-Feb-15 21:10 
GeneralRe: The grade of this programming PinPopular
V.8-Feb-15 21:19
professionalV.8-Feb-15 21:19 
GeneralRe: The grade of this programming Pin
OriginalGriff8-Feb-15 21:39
mveOriginalGriff8-Feb-15 21:39 
GeneralRe: The grade of this programming Pin
harold aptroot8-Feb-15 22:31
harold aptroot8-Feb-15 22:31 
In addition to this being a case of "not doing what the assignment said you should do", the code is sprinkled with many odd things.

For example:

Deviation from the standard formatting. That wouldn't be so bad by itself, but it's not even consistent. Spaces are missing or added randomly.

Lots of static fields. Why? They look like "escaped locals". If you actually communicated through them, I'd probably deduct a point for effectively using globals. Anyway, there are use cases for static fields, but this isn't any of them.

position in GenericStack. What is it? Does it even do anything? Even if it did do something, should it be doing that?

Using anything from the class Convert.

This gem:
C#
public static T To<T>(this string text)
{
    return (T)Convert.ChangeType(text, typeof(T));
}

Missing brackets or suggestive formatting near
C#
else
    intStack = new GenericStack<int>(n);

The combination
C#
--top;
return elements[top + 1];


So, I don't know about a zero, but I'm afraid I would give you a low grade too. 3/10 if I were generous. Probably 2/10, reserving the 1/10 for those who deliver absolutely nothing. I'm sure you can do better.
AnswerRe: The grade of this programming Pin
BillWoodruff8-Feb-15 23:47
professionalBillWoodruff8-Feb-15 23:47 
AnswerRe: The grade of this programming Pin
Dave Kreskowiak9-Feb-15 3:52
mveDave Kreskowiak9-Feb-15 3:52 
AnswerRe: The grade of this programming Pin
Member 112935289-Feb-15 4:06
Member 112935289-Feb-15 4:06 
GeneralRe: The grade of this programming Pin
OriginalGriff9-Feb-15 4:49
mveOriginalGriff9-Feb-15 4:49 
Questionelliptic curve cryptography (ECC). Pin
Member 114284388-Feb-15 19:48
Member 114284388-Feb-15 19:48 
AnswerRe: elliptic curve cryptography (ECC). Pin
OriginalGriff8-Feb-15 20:50
mveOriginalGriff8-Feb-15 20:50 
AnswerRe: elliptic curve cryptography (ECC). Pin
Pete O'Hanlon8-Feb-15 21:22
mvePete O'Hanlon8-Feb-15 21:22 
GeneralRe: elliptic curve cryptography (ECC). Pin
OriginalGriff8-Feb-15 21:29
mveOriginalGriff8-Feb-15 21:29 
AnswerRe: elliptic curve cryptography (ECC). Pin
Kenneth Haugland8-Feb-15 21:36
mvaKenneth Haugland8-Feb-15 21:36 
QuestionTouchscreenKeyboard.dll file Required Pin
Md Rafique Alam8-Feb-15 18:24
Md Rafique Alam8-Feb-15 18:24 
AnswerRe: TouchscreenKeyboard.dll file Required Pin
Richard MacCutchan8-Feb-15 21:42
mveRichard MacCutchan8-Feb-15 21:42 
QuestionHeap in C# Pin
Member 111616258-Feb-15 17:16
Member 111616258-Feb-15 17:16 
AnswerRe: Heap in C# Pin
PIEBALDconsult8-Feb-15 17:31
mvePIEBALDconsult8-Feb-15 17:31 
AnswerRe: Heap in C# Pin
Richard MacCutchan8-Feb-15 21:40
mveRichard MacCutchan8-Feb-15 21:40 
AnswerRe: Heap in C# Pin
Jim from Indy9-Feb-15 2:26
Jim from Indy9-Feb-15 2:26 
QuestionC# Sendkeys Tilde (~) Sign does not always get written out? Pin
Linus Agren8-Feb-15 0:08
Linus Agren8-Feb-15 0:08 
QuestionRe: C# Sendkeys Tilde (~) Sign does not always get written out? Pin
Richard MacCutchan8-Feb-15 0:37
mveRichard MacCutchan8-Feb-15 0:37 

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.