Click here to Skip to main content
15,888,286 members
Home / Discussions / C#
   

C#

 
GeneralRe: Xml serialization problem Pin
Heath Stewart22-Dec-03 11:59
protectorHeath Stewart22-Dec-03 11:59 
GeneralRe: Xml serialization problem Pin
J. Dunlap22-Dec-03 21:33
J. Dunlap22-Dec-03 21:33 
GeneralRe: Xml serialization problem Pin
Heath Stewart23-Dec-03 2:40
protectorHeath Stewart23-Dec-03 2:40 
GeneralRe: Xml serialization problem Pin
J. Dunlap23-Dec-03 10:38
J. Dunlap23-Dec-03 10:38 
QuestionMicrosoft .NET parser C# error ? Pin
identy22-Dec-03 9:20
identy22-Dec-03 9:20 
AnswerRe: Microsoft .NET parser C# error ? Pin
J. Dunlap22-Dec-03 9:31
J. Dunlap22-Dec-03 9:31 
GeneralRe: Microsoft .NET parser C# error ? Pin
Anonymous22-Dec-03 23:48
Anonymous22-Dec-03 23:48 
GeneralRe: Microsoft .NET parser C# error ? Pin
Member 26118822-Dec-03 23:48
Member 26118822-Dec-03 23:48 
If you use:

if (foo == null)
{
    System.Data.Foo _Foo = new System.Data.Foo;
}

Now _Foo is only available within the { and }.
Now, if you could use the short version:

if (foo == null)
    System.Data.Foo _Foo = new System.Data.Foo;

...then where would _Foo be available? In the { and }, which you left out, or in the parent's context (e.g. between the methods { and })?
Because of this confusion, it is not possible.
GeneralRe: Microsoft .NET parser C# error ? Pin
identy6-Jan-04 9:53
identy6-Jan-04 9:53 
GeneralString Alignment Question Pin
RB@Emphasys22-Dec-03 8:18
RB@Emphasys22-Dec-03 8:18 
GeneralRe: String Alignment Question Pin
leppie22-Dec-03 9:57
leppie22-Dec-03 9:57 
GeneralRe: String Alignment Question Pin
Heath Stewart22-Dec-03 11:10
protectorHeath Stewart22-Dec-03 11:10 
GeneralRe: String Alignment Question Pin
RB@Emphasys29-Dec-03 3:07
RB@Emphasys29-Dec-03 3:07 
GeneralRe: String Alignment Question Pin
Heath Stewart29-Dec-03 3:56
protectorHeath Stewart29-Dec-03 3:56 
QuestionStatic destructor? Pin
CBoland22-Dec-03 6:07
CBoland22-Dec-03 6:07 
AnswerRe: Static destructor? Pin
leppie22-Dec-03 6:38
leppie22-Dec-03 6:38 
GeneralRe: Static destructor? Pin
CBoland22-Dec-03 7:04
CBoland22-Dec-03 7:04 
GeneralString tokenizer in C# Pin
dabs22-Dec-03 5:37
dabs22-Dec-03 5:37 
GeneralRe: String tokenizer in C# Pin
leppie22-Dec-03 6:35
leppie22-Dec-03 6:35 
GeneralRe: String tokenizer in C# Pin
Larry Antram22-Dec-03 11:51
Larry Antram22-Dec-03 11:51 
GeneralC# API to generate PDF files from XSL:FO Pin
MrEyes22-Dec-03 4:21
MrEyes22-Dec-03 4:21 
GeneralRe: C# API to generate PDF files from XSL:FO Pin
Philip Fitzsimons22-Dec-03 4:37
Philip Fitzsimons22-Dec-03 4:37 
GeneralRe: C# API to generate PDF files from XSL:FO Pin
MrEyes22-Dec-03 5:17
MrEyes22-Dec-03 5:17 
Generalglobal variable in c# Pin
Anonymous22-Dec-03 4:06
Anonymous22-Dec-03 4:06 
GeneralRe: global variable in c# Pin
ThoWeib22-Dec-03 4:28
ThoWeib22-Dec-03 4:28 

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.