Timeline for answer to "a" Does not contain a definition for"b" and no extension method ' b ' accepting a first argument of type by Mike Perrenoud
Current License: CC BY-SA 3.0
Post Revisions
9 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Dec 8, 2013 at 12:26 | comment | added | Mike Perrenoud | @Loko, well the issue here was that a Label had the same name as a class you were trying to reference. My conventions are usually type abbreviation + purpose for controls (e.g. lblFile) in this case. It does keep from conflicts but it's also easier to understand what I'm referencing. My class fields all begin with an _ and start with a lower case too. | |
| Dec 8, 2013 at 10:26 | comment | added | Loko | Ok so variable names should ALWAYS begin with a lowercase letter? | |
| Jun 10, 2013 at 12:32 | comment | added | Mike Perrenoud | @loko, gladly. Get started on it, post that code to a new question, and I'll lead you where I need to. | |
| Jun 10, 2013 at 12:29 | comment | added | Loko | @ Michael Perrenoud can you also tell me how to add a cut option instead of a copy option? | |
| Jun 10, 2013 at 12:25 | vote | accept | Loko | ||
| Jun 10, 2013 at 12:24 | comment | added | Thorsten Dittmar | And that's why you should stick to the coding conventions stating that variable names should always begin with a small letter. | |
| Jun 10, 2013 at 12:18 | comment | added | Nolonar |
@loko Same error? Does your line still say File.Copy, or did it change to myNewLabelName.Copy?
|
|
| Jun 10, 2013 at 12:16 | comment | added | Loko | I got a Label with the name:"File" and i changed the name. But it didn't work. | |
| Jun 10, 2013 at 12:12 | history | answered | Mike Perrenoud | CC BY-SA 3.0 |