Click here to Skip to main content
15,881,803 members
Home / Discussions / C#
   

C#

 
AnswerRe: C#_Error "Namespace cannot directly contain..." Pin
RobCroll10-Jan-12 19:53
RobCroll10-Jan-12 19:53 
GeneralRe: C#_Error "Namespace cannot directly contain..." Pin
Deborah Palmer McCain11-Jan-12 5:50
Deborah Palmer McCain11-Jan-12 5:50 
GeneralRe: C#_Error "Namespace cannot directly contain..." Pin
Roger Wright11-Jan-12 18:18
professionalRoger Wright11-Jan-12 18:18 
GeneralRe: C#_Error "Namespace cannot directly contain..." Pin
Deborah Palmer McCain12-Jan-12 5:57
Deborah Palmer McCain12-Jan-12 5:57 
AnswerRe: C#_Error "Namespace cannot directly contain..." Pin
OriginalGriff10-Jan-12 22:19
mveOriginalGriff10-Jan-12 22:19 
GeneralRe: C#_Error "Namespace cannot directly contain..." Pin
Deborah Palmer McCain11-Jan-12 5:55
Deborah Palmer McCain11-Jan-12 5:55 
GeneralRe: C#_Error "Namespace cannot directly contain..." Pin
killabyte11-Jan-12 16:49
killabyte11-Jan-12 16:49 
GeneralRe: C#_Error "Namespace cannot directly contain..." Pin
OriginalGriff11-Jan-12 21:40
mveOriginalGriff11-Jan-12 21:40 
Nah. It's clumsy and inconsistent with single statement indentation:
If you write like this:
C#
if (condition)
   statement;
Why would you change the indentation when it is a block you are using instead of a single statement?
C#
if (condition)
{
   statement;
   statement;
}
It's up to personal preference (or company practice) though - the important thing is to be consistent throughout.
Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water

GeneralRe: C#_Error "Namespace cannot directly contain..." Pin
BillWoodruff12-Jan-12 16:12
professionalBillWoodruff12-Jan-12 16:12 
GeneralRe: C#_Error "Namespace cannot directly contain..." Pin
OriginalGriff12-Jan-12 21:08
mveOriginalGriff12-Jan-12 21:08 
GeneralRe: C#_Error "Namespace cannot directly contain..." Pin
BobJanova12-Jan-12 23:33
BobJanova12-Jan-12 23:33 
QuestionGamebot / find images on grid / scrabulizer etc Pin
LordNeverwinter10-Jan-12 7:38
LordNeverwinter10-Jan-12 7:38 
AnswerRe: Gamebot / find images on grid / scrabulizer etc Pin
Alan Balkany10-Jan-12 8:21
Alan Balkany10-Jan-12 8:21 
GeneralRe: Gamebot / find images on grid / scrabulizer etc Pin
LordNeverwinter12-Jan-12 1:38
LordNeverwinter12-Jan-12 1:38 
GeneralRe: Gamebot / find images on grid / scrabulizer etc Pin
Alan Balkany13-Jan-12 4:09
Alan Balkany13-Jan-12 4:09 
GeneralRe: Gamebot / find images on grid / scrabulizer etc Pin
LordNeverwinter12-Jan-12 19:54
LordNeverwinter12-Jan-12 19:54 
AnswerRe: Gamebot / find images on grid / scrabulizer etc Pin
BillWoodruff12-Jan-12 16:18
professionalBillWoodruff12-Jan-12 16:18 
GeneralRe: Gamebot / find images on grid / scrabulizer etc Pin
LordNeverwinter12-Jan-12 19:41
LordNeverwinter12-Jan-12 19:41 
QuestionHow to check that a character can be encoded with codepage 1252? Pin
Bernhard Hiller10-Jan-12 3:48
Bernhard Hiller10-Jan-12 3:48 
AnswerRe: How to check that a character can be encoded with codepage 1252? Pin
Luc Pattyn10-Jan-12 4:24
sitebuilderLuc Pattyn10-Jan-12 4:24 
GeneralRe: How to check that a character can be encoded with codepage 1252? Pin
Bernhard Hiller10-Jan-12 21:13
Bernhard Hiller10-Jan-12 21:13 
AnswerRe: How to check that a character can be encoded with codepage 1252? Pin
jschell11-Jan-12 9:27
jschell11-Jan-12 9:27 
QuestionC# RTD + .Net Remoting Pin
ZawMinTun9-Jan-12 23:01
ZawMinTun9-Jan-12 23:01 
QuestionCalling java from C# Pin
KASR19-Jan-12 21:32
KASR19-Jan-12 21:32 
AnswerRe: Calling java from C# Pin
OriginalGriff9-Jan-12 21:41
mveOriginalGriff9-Jan-12 21:41 

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.