Click here to Skip to main content
15,900,110 members
Home / Discussions / C#
   

C#

 
AnswerRe: Compiler Error Message: CS1519: Invalid token 'foreach' in class, struct, or interface member declaration Pin
S. Senthil Kumar11-Jun-08 6:22
S. Senthil Kumar11-Jun-08 6:22 
AnswerRe: Compiler Error Message: CS1519: Invalid token 'foreach' in class, struct, or interface member declaration Pin
leppie11-Jun-08 6:23
leppie11-Jun-08 6:23 
QuestionCode Generation competition Article Submission problem. Pin
hdv21211-Jun-08 6:06
hdv21211-Jun-08 6:06 
AnswerRe: Code Generation competition Article Submission problem. Pin
leppie11-Jun-08 6:19
leppie11-Jun-08 6:19 
GeneralRe: Code Generation competition Article Submission problem. Pin
hdv21211-Jun-08 6:23
hdv21211-Jun-08 6:23 
GeneralRe: Code Generation competition Article Submission problem. Pin
leppie11-Jun-08 6:25
leppie11-Jun-08 6:25 
AnswerRe: Code Generation competition Article Submission problem. Pin
Giorgi Dalakishvili11-Jun-08 6:58
mentorGiorgi Dalakishvili11-Jun-08 6:58 
QuestionShould I use new for a string? [Solved] Pin
Hamed Musavi11-Jun-08 5:59
Hamed Musavi11-Jun-08 5:59 
I added a variable of type string to a class. I added getter and setters. Should new be called (for instance in constructor) before assigning it a value?

// "In the end it's a little boy expressing himself." Yanni
while (I_am_alive)
{
    cout<<"I love to do more than just programming.";
}

modified on Wednesday, June 11, 2008 1:31 PM

AnswerRe: Should I use new for a string? Pin
leppie11-Jun-08 6:06
leppie11-Jun-08 6:06 
GeneralRe: Should I use new for a string? Pin
Hamed Musavi11-Jun-08 6:12
Hamed Musavi11-Jun-08 6:12 
GeneralRe: Should I use new for a string? Pin
leppie11-Jun-08 6:18
leppie11-Jun-08 6:18 
GeneralRe: Should I use new for a string? Pin
Hamed Musavi11-Jun-08 6:21
Hamed Musavi11-Jun-08 6:21 
GeneralRe: Should I use new for a string? Pin
User 665811-Jun-08 6:22
User 665811-Jun-08 6:22 
GeneralRe: Should I use new for a string? Pin
Hamed Musavi11-Jun-08 6:31
Hamed Musavi11-Jun-08 6:31 
GeneralRe: Should I use new for a string? Pin
User 665811-Jun-08 6:57
User 665811-Jun-08 6:57 
GeneralRe: Should I use new for a string? Pin
S. Senthil Kumar11-Jun-08 8:19
S. Senthil Kumar11-Jun-08 8:19 
AnswerRe: Should I use new for a string? Pin
Guffa11-Jun-08 7:23
Guffa11-Jun-08 7:23 
GeneralRe: Should I use new for a string? Pin
Hamed Musavi11-Jun-08 7:29
Hamed Musavi11-Jun-08 7:29 
GeneralRe: Should I use new for a string? Pin
Guffa11-Jun-08 7:40
Guffa11-Jun-08 7:40 
GeneralRe: Should I use new for a string? Pin
BadKarma11-Jun-08 10:26
BadKarma11-Jun-08 10:26 
GeneralRe: Should I use new for a string? Pin
Guffa11-Jun-08 13:13
Guffa11-Jun-08 13:13 
AnswerRe: Should I use new for a string? Pin
Christian Graus11-Jun-08 6:24
protectorChristian Graus11-Jun-08 6:24 
GeneralRe: Should I use new for a string? Pin
Hamed Musavi11-Jun-08 6:29
Hamed Musavi11-Jun-08 6:29 
GeneralRe: Should I use new for a string? [modified] Pin
S. Senthil Kumar11-Jun-08 6:46
S. Senthil Kumar11-Jun-08 6:46 
GeneralRe: Should I use new for a string? Pin
Hamed Musavi11-Jun-08 7:14
Hamed Musavi11-Jun-08 7:14 

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.