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

C#

 
QuestionGridView and SEO Pin
Feddo0415-Mar-09 15:13
Feddo0415-Mar-09 15:13 
AnswerRe: GridView and SEO Pin
Colin Angus Mackay15-Mar-09 15:47
Colin Angus Mackay15-Mar-09 15:47 
GeneralRe: GridView and SEO Pin
Feddo0415-Mar-09 16:04
Feddo0415-Mar-09 16:04 
GeneralRe: GridView and SEO Pin
Colin Angus Mackay15-Mar-09 16:11
Colin Angus Mackay15-Mar-09 16:11 
GeneralRe: GridView and SEO Pin
Feddo0420-Mar-09 5:09
Feddo0420-Mar-09 5:09 
QuestionObjects on another form Pin
Jon Henry15-Mar-09 13:45
Jon Henry15-Mar-09 13:45 
AnswerRe: Objects on another form Pin
Christian Graus15-Mar-09 14:11
protectorChristian Graus15-Mar-09 14:11 
GeneralRe: Objects on another form Pin
Jon Henry15-Mar-09 14:30
Jon Henry15-Mar-09 14:30 
GeneralRe: Objects on another form Pin
Christian Graus15-Mar-09 18:39
protectorChristian Graus15-Mar-09 18:39 
AnswerRe: Objects on another form Pin
Natza Mitzi15-Mar-09 21:23
Natza Mitzi15-Mar-09 21:23 
Questionbind property to selected row from datagridview Pin
jogisarge15-Mar-09 10:15
jogisarge15-Mar-09 10:15 
AnswerRe: bind property to selected row from datagridview Pin
Mycroft Holmes15-Mar-09 14:09
professionalMycroft Holmes15-Mar-09 14:09 
Questiongenerate code dynamically ? Pin
Mubeen.asim15-Mar-09 9:53
Mubeen.asim15-Mar-09 9:53 
AnswerRe: generate code dynamically ? Pin
Pete O'Hanlon15-Mar-09 10:03
mvePete O'Hanlon15-Mar-09 10:03 
Questioncharacter recognition Pin
Swati Khanna15-Mar-09 7:15
Swati Khanna15-Mar-09 7:15 
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 
Even though that DOES compile in C++, it's not quite what I was expecting. From different sites (google "variable shadowing"), variable shadowing always refers to when a variable shares its name with that of a different class, method, or struct, not if-block scope.

I agree that if-block scope is still just another level of scope (deeper than method or class scope), but it's not specified in different definitions of variable shadowing (only class/struct and method scopes are mentioned, not if-blocks).

Thank you for bringing that to my attention, I hadn't though of if-blocks. We'll see how long it lasts if I add that detail to the Wikipedia article...

-Daniel
Typing too fast fro my owngood

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 
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 

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.