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

C#

 
AnswerRe: character recognition Pin
Xmen Real 15-Mar-09 7:48
professional Xmen Real 15-Mar-09 7:48 
AnswerRe: character recognition Pin
Christian Graus15-Mar-09 10:11
protectorChristian Graus15-Mar-09 10:11 
QuestionI thought I couldn't shadow... Pin
likefood15-Mar-09 6:39
likefood15-Mar-09 6:39 
AnswerRe: I thought I couldn't shadow... Pin
Steve_15-Mar-09 7:36
Steve_15-Mar-09 7:36 
GeneralRe: I thought I couldn't shadow... Pin
likefood15-Mar-09 7:52
likefood15-Mar-09 7:52 
GeneralRe: I thought I couldn't shadow... Pin
Steve_15-Mar-09 11:00
Steve_15-Mar-09 11:00 
AnswerRe: I thought I couldn't shadow... Pin
N a v a n e e t h15-Mar-09 7:53
N a v a n e e t h15-Mar-09 7:53 
AnswerRe: I thought I couldn't shadow... Pin
likefood15-Mar-09 8:04
likefood15-Mar-09 8:04 
It appears that C# does not allow shadowing from within a decision block. It has already been clarified that it won't work between inside and if-block and its outer method. And I already knew you can't shadow between case statements in a switch block (when you can with Java). However, it has no problem with it between a method and its class (or between an inner and an outer class). It would be cool if that distinction was made more clear in the documentation.

Thanks for pointing out the decision-block scenario to me, StephenWhitfield and Navaneeth!

-Daniel
Typing too fast fro my owngood

GeneralRe: I thought I couldn't shadow... Pin
N a v a n e e t h15-Mar-09 8:22
N a v a n e e t h15-Mar-09 8:22 
GeneralRe: I thought I couldn't shadow... Pin
harold aptroot15-Mar-09 9:45
harold aptroot15-Mar-09 9:45 
QuestionVerify connection to mail server.... Pin
Jacob Dixon15-Mar-09 4:29
Jacob Dixon15-Mar-09 4:29 
AnswerRe: Verify connection to mail server.... Pin
harold aptroot15-Mar-09 5:27
harold aptroot15-Mar-09 5:27 
GeneralRe: Verify connection to mail server.... Pin
Jacob Dixon15-Mar-09 6:22
Jacob Dixon15-Mar-09 6:22 
QuestionResize an Array dynamically Pin
rushi_gavankar15-Mar-09 3:12
rushi_gavankar15-Mar-09 3:12 
AnswerRe: Resize an Array dynamically Pin
Luc Pattyn15-Mar-09 5:08
sitebuilderLuc Pattyn15-Mar-09 5:08 
AnswerRe: Resize an Array dynamically Pin
Alan N15-Mar-09 5:22
Alan N15-Mar-09 5:22 
GeneralRe: Resize an Array dynamically Pin
Luc Pattyn15-Mar-09 7:37
sitebuilderLuc Pattyn15-Mar-09 7:37 
AnswerRe: Resize an Array dynamically Pin
Eslam Afifi15-Mar-09 6:07
Eslam Afifi15-Mar-09 6:07 
GeneralRe: Resize an Array dynamically Pin
Natza Mitzi15-Mar-09 12:24
Natza Mitzi15-Mar-09 12:24 
GeneralRe: Resize an Array dynamically Pin
Megidolaon16-Mar-09 1:53
Megidolaon16-Mar-09 1:53 
AnswerRe: Resize an Array dynamically Pin
Eslam Afifi16-Mar-09 7:25
Eslam Afifi16-Mar-09 7:25 
Questionconvertor Pin
shefa' isied15-Mar-09 2:53
shefa' isied15-Mar-09 2:53 
AnswerRe: convertor Pin
Eddy Vluggen15-Mar-09 3:02
professionalEddy Vluggen15-Mar-09 3:02 
GeneralRe: convertor Pin
shefa' isied15-Mar-09 4:00
shefa' isied15-Mar-09 4:00 
GeneralRe: convertor Pin
Mustafa Ismail Mustafa15-Mar-09 5:12
Mustafa Ismail Mustafa15-Mar-09 5:12 

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.