Click here to Skip to main content
15,907,183 members
Home / Discussions / C#
   

C#

 
GeneralRe: Remove Databinding Pin
SVb.net21-Jan-08 21:35
SVb.net21-Jan-08 21:35 
GeneralRe: Remove Databinding Pin
thachil21-Jan-08 21:51
thachil21-Jan-08 21:51 
GeneralWrong ToString being called Pin
Jordanwb21-Jan-08 13:07
Jordanwb21-Jan-08 13:07 
GeneralRe: Wrong ToString being called Pin
J$21-Jan-08 13:46
J$21-Jan-08 13:46 
GeneralRe: Wrong ToString being called Pin
Jordanwb21-Jan-08 14:42
Jordanwb21-Jan-08 14:42 
GeneralRe: Wrong ToString being called Pin
Luc Pattyn21-Jan-08 14:40
sitebuilderLuc Pattyn21-Jan-08 14:40 
GeneralRe: Wrong ToString being called Pin
Jordanwb21-Jan-08 14:43
Jordanwb21-Jan-08 14:43 
GeneralRe: Wrong ToString being called Pin
Luc Pattyn21-Jan-08 15:43
sitebuilderLuc Pattyn21-Jan-08 15:43 
object.ToString() is an existing virtual method; adding a ToString() method to some type therefore
requires either the "new" or the "override" keyword, and such is indicated by the C# compiler in all
Visual Studio versions I have seen so far, provided the warning level is set sufficiently
high (I run mine at the maximum value, which is 4), and the specific warning is not suppressed.

The exact message is:
warning CS0114: 'XXX.ToString()' hides inherited member 'object.ToString()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

This month's tips:
- before you ask a question here, search CodeProject, then Google;
- the quality and detail of your question reflects on the effectiveness of the help you are likely to get;
- use PRE tags to preserve formatting when showing multi-line code snippets.


GeneralProblem with master pages Pin
garrywh21-Jan-08 11:31
garrywh21-Jan-08 11:31 
GeneralI need help with C# loops Pin
Alex50121-Jan-08 10:47
Alex50121-Jan-08 10:47 
GeneralRe: I need help with C# loops Pin
Pete O'Hanlon21-Jan-08 11:16
mvePete O'Hanlon21-Jan-08 11:16 
GeneralRe: I need help with C# loops [modified] Pin
PIEBALDconsult21-Jan-08 11:33
mvePIEBALDconsult21-Jan-08 11:33 
GeneralRe: I need help with C# loops Pin
Colin Angus Mackay21-Jan-08 14:26
Colin Angus Mackay21-Jan-08 14:26 
GeneralRe: I need help with C# loops Pin
PIEBALDconsult21-Jan-08 15:27
mvePIEBALDconsult21-Jan-08 15:27 
GeneralRe: I need help with C# loops Pin
Colin Angus Mackay21-Jan-08 14:40
Colin Angus Mackay21-Jan-08 14:40 
GeneralRe: I need help with C# loops Pin
PIEBALDconsult21-Jan-08 16:11
mvePIEBALDconsult21-Jan-08 16:11 
GeneralRe: I need help with C# loops Pin
Colin Angus Mackay21-Jan-08 21:32
Colin Angus Mackay21-Jan-08 21:32 
GeneralRe: I need help with C# loops Pin
PIEBALDconsult22-Jan-08 5:08
mvePIEBALDconsult22-Jan-08 5:08 
GeneralRe: I need help with C# loops Pin
Guffa21-Jan-08 22:19
Guffa21-Jan-08 22:19 
GeneralRe: I need help with C# loops Pin
PIEBALDconsult22-Jan-08 6:39
mvePIEBALDconsult22-Jan-08 6:39 
GeneralRe: I need help with C# loops Pin
Guffa22-Jan-08 9:02
Guffa22-Jan-08 9:02 
GeneralRe: I need help with C# loops Pin
Gareth H21-Jan-08 11:38
Gareth H21-Jan-08 11:38 
GeneralRe: I need help with C# loops Pin
Guffa21-Jan-08 13:20
Guffa21-Jan-08 13:20 
GeneralRe: I need help with C# loops Pin
PIEBALDconsult21-Jan-08 16:19
mvePIEBALDconsult21-Jan-08 16:19 
JokeRe: I need help with C# loops Pin
Guffa21-Jan-08 22:01
Guffa21-Jan-08 22:01 

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.