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

C#

 
GeneralRe: MVVM. Buttons and thair content Pin
SledgeHammer0112-Dec-12 11:30
SledgeHammer0112-Dec-12 11:30 
GeneralRe: MVVM. Buttons and thair content Pin
boryborawski12-Dec-12 13:22
boryborawski12-Dec-12 13:22 
QuestionWeb scraping Pin
Kalenzo12-Dec-12 7:12
Kalenzo12-Dec-12 7:12 
AnswerRe: Web scraping Pin
Matt U.12-Dec-12 7:20
Matt U.12-Dec-12 7:20 
QuestionCreating an instance to be used as an Object refference Pin
bikerben12-Dec-12 6:35
bikerben12-Dec-12 6:35 
AnswerRe: Creating an instance to be used as an Object refference Pin
Matt U.12-Dec-12 6:49
Matt U.12-Dec-12 6:49 
AnswerRe: Creating an instance to be used as an Object refference Pin
DaveyM6912-Dec-12 8:02
professionalDaveyM6912-Dec-12 8:02 
AnswerRe: Creating an instance to be used as an Object refference Pin
OriginalGriff12-Dec-12 8:11
mveOriginalGriff12-Dec-12 8:11 
To add to what the others have said: get rid of the semicolon.
C#
// Define File Type
foreach (blah blah in blahs);
    if (myCondition)
Becomes
C#
// Define File Type
foreach (blah blah in blahs)
    if (myCondition)

With it present, the if condition is executed outside the loop, not in as the indentation suggests.
If you get an email telling you that you can catch Swine Flu from tinned pork then just delete it. It's Spam.

GeneralRe: Creating an instance to be used as an Object refference Pin
Killzone DeathMan13-Dec-12 0:02
Killzone DeathMan13-Dec-12 0:02 
AnswerRe: Creating an instance to be used as an Object refference Pin
V.12-Dec-12 21:30
professionalV.12-Dec-12 21:30 
GeneralRe: Creating an instance to be used as an Object refference Pin
bikerben18-Dec-12 6:19
bikerben18-Dec-12 6:19 
GeneralRe: Creating an instance to be used as an Object refference Pin
V.18-Dec-12 7:28
professionalV.18-Dec-12 7:28 
QuestionProblems with File Pin
tiwal12-Dec-12 4:49
tiwal12-Dec-12 4:49 
QuestionRe: Problems with File Pin
Eddy Vluggen12-Dec-12 5:00
professionalEddy Vluggen12-Dec-12 5:00 
AnswerRe: Problems with File Pin
tiwal12-Dec-12 5:12
tiwal12-Dec-12 5:12 
GeneralRe: Problems with File Pin
Eddy Vluggen12-Dec-12 5:20
professionalEddy Vluggen12-Dec-12 5:20 
GeneralRe: Problems with File Pin
tiwal12-Dec-12 21:05
tiwal12-Dec-12 21:05 
GeneralRe: Problems with File Pin
Richard MacCutchan12-Dec-12 22:43
mveRichard MacCutchan12-Dec-12 22:43 
AnswerRe: Problems with File Pin
OriginalGriff12-Dec-12 5:03
mveOriginalGriff12-Dec-12 5:03 
GeneralRe: Problems with File Pin
tiwal12-Dec-12 5:17
tiwal12-Dec-12 5:17 
GeneralRe: Problems with File Pin
OriginalGriff12-Dec-12 5:23
mveOriginalGriff12-Dec-12 5:23 
Questionproblem with using pointers in C# Pin
siawash_s12-Dec-12 4:38
siawash_s12-Dec-12 4:38 
AnswerRe: problem with using pointers in C# Pin
Eddy Vluggen12-Dec-12 4:44
professionalEddy Vluggen12-Dec-12 4:44 
GeneralRe: problem with using pointers in C# Pin
siawash_s13-Dec-12 1:09
siawash_s13-Dec-12 1:09 
AnswerRe: problem with using pointers in C# Pin
Abhinav S12-Dec-12 5:04
Abhinav S12-Dec-12 5:04 

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.