Click here to Skip to main content
15,891,033 members
Home / Discussions / C#
   

C#

 
AnswerRe: c# no concept of scope ? Pin
leppie5-Sep-03 9:49
leppie5-Sep-03 9:49 
AnswerRe: c# no concept of scope ? Pin
scadaguy5-Sep-03 9:58
scadaguy5-Sep-03 9:58 
GeneralRe: c# no concept of scope ? Pin
jpribele5-Sep-03 10:10
jpribele5-Sep-03 10:10 
GeneralRe: c# no concept of scope ? Pin
leppie5-Sep-03 22:17
leppie5-Sep-03 22:17 
GeneralRe: c# no concept of scope ? Pin
jpribele8-Sep-03 3:09
jpribele8-Sep-03 3:09 
GeneralRe: c# no concept of scope ? Pin
leppie8-Sep-03 8:25
leppie8-Sep-03 8:25 
GeneralRe: c# no concept of scope ? Pin
scadaguy8-Sep-03 3:28
scadaguy8-Sep-03 3:28 
AnswerRe: c# no concept of scope ? Pin
Rich3335-Sep-03 22:58
sussRich3335-Sep-03 22:58 
You could try using a compiler that doesn't punish good programmers for using perfectly legitimate code. Technically, there is no conflict so long as the outer scope lenum comes after the inner scope one. MS's csc and Mono's mcs both use this buggy scoping, however DotGNU Portable.NET's cscc allows this code (as well it should) since there is no conflict. It does reject code where the outer scope variable is declared before the inner scope variable, however (since in that case there is an actual conflict).


Rich

P.S. For more info on DotGNU check out: http://www.dotgnu.org/
GeneralCreate DataTable from XML Schema Pin
Douglas Troy5-Sep-03 7:33
Douglas Troy5-Sep-03 7:33 
GeneralRe: Create DataTable from XML Schema Pin
Mazdak5-Sep-03 7:58
Mazdak5-Sep-03 7:58 
GeneralRe: Create DataTable from XML Schema Pin
Douglas Troy5-Sep-03 8:10
Douglas Troy5-Sep-03 8:10 
GeneralRe: Create DataTable from XML Schema Pin
Ernesto Perales Soto5-Sep-03 8:01
Ernesto Perales Soto5-Sep-03 8:01 
GeneralRe: Create DataTable from XML Schema Pin
Douglas Troy5-Sep-03 8:40
Douglas Troy5-Sep-03 8:40 
GeneralRe: Create DataTable from XML Schema Pin
Ernesto Perales Soto5-Sep-03 10:26
Ernesto Perales Soto5-Sep-03 10:26 
GeneralRe: Create DataTable from XML Schema Pin
Douglas Troy8-Sep-03 3:49
Douglas Troy8-Sep-03 3:49 
GeneralCloning Data Tables Pin
afronaut5-Sep-03 6:54
afronaut5-Sep-03 6:54 
GeneralRe: Cloning Data Tables Pin
Ernesto Perales Soto5-Sep-03 7:27
Ernesto Perales Soto5-Sep-03 7:27 
GeneralRe: Cloning Data Tables Pin
afronaut5-Sep-03 8:52
afronaut5-Sep-03 8:52 
GeneralRe: Cloning Data Tables Pin
Arjan Einbu5-Sep-03 23:17
Arjan Einbu5-Sep-03 23:17 
QuestionTracking Remoting Objects - How To? Pin
0siris5-Sep-03 6:45
0siris5-Sep-03 6:45 
AnswerRe: Tracking Remoting Objects - How To? Pin
0siris5-Sep-03 15:04
0siris5-Sep-03 15:04 
GeneralRe: Tracking Remoting Objects - How To? Pin
0siris7-Sep-03 18:52
0siris7-Sep-03 18:52 
GeneralSystem.Runtime.Remoting.Channels.Tcp not found Pin
mikemilano5-Sep-03 6:36
mikemilano5-Sep-03 6:36 
GeneralRe: System.Runtime.Remoting.Channels.Tcp not found Pin
0siris5-Sep-03 6:46
0siris5-Sep-03 6:46 
GeneralRe: System.Runtime.Remoting.Channels.Tcp not found Pin
mikemilano5-Sep-03 6:49
mikemilano5-Sep-03 6:49 

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.