Click here to Skip to main content
15,888,527 members
Home / Discussions / C#
   

C#

 
AnswerRe: inheriting varibles from within a class Pin
PIEBALDconsult12-May-09 17:20
mvePIEBALDconsult12-May-09 17:20 
GeneralRe: inheriting varibles from within a class Pin
Luc Pattyn12-May-09 17:22
sitebuilderLuc Pattyn12-May-09 17:22 
GeneralRe: inheriting varibles from within a class Pin
PIEBALDconsult12-May-09 17:41
mvePIEBALDconsult12-May-09 17:41 
GeneralRe: inheriting varibles from within a class Pin
antrock10112-May-09 17:25
antrock10112-May-09 17:25 
GeneralRe: inheriting varibles from within a class Pin
antrock10112-May-09 17:36
antrock10112-May-09 17:36 
GeneralRe: inheriting varibles from within a class Pin
PIEBALDconsult12-May-09 17:46
mvePIEBALDconsult12-May-09 17:46 
GeneralRe: inheriting varibles from within a class Pin
antrock10112-May-09 18:00
antrock10112-May-09 18:00 
GeneralUsing the New keyword Pin
Mycroft Holmes12-May-09 15:23
professionalMycroft Holmes12-May-09 15:23 
I have a standard class structure for servicing a table, one of the methods is GetRecord (does the obvious, gets the record from the database and populates the fields in the class).

When I inherit the table up the FK tree I get a warning that this method hides an underlying method
hides inherited member 'LimitMgr.clsLimitSet.LimitSetID'. Use the new keyword if hiding was intended

The questions.
1 How essential is it to implement the new keyword in this scenario?
2 Is the app exposed to error or processing faults if the new keyword is not implemented?
3 If I implement the new keyword on all methods, is there an issue when they do NOT hide an inherited method?

I am a great beleiver in elegant and correct code and I dislike having warnings scattered throughout the app, but implementing the new keyword will be a pain so I am trying to asses the impact of not doing the work Blush | :O



Never underestimate the power of human stupidity
RAH

GeneralRe: Using the New keyword Pin
Luc Pattyn12-May-09 17:09
sitebuilderLuc Pattyn12-May-09 17:09 
GeneralRe: Using the New keyword Pin
Mycroft Holmes12-May-09 19:06
professionalMycroft Holmes12-May-09 19:06 
GeneralRe: Using the New keyword Pin
PIEBALDconsult12-May-09 17:34
mvePIEBALDconsult12-May-09 17:34 
GeneralRe: Using the New keyword Pin
N a v a n e e t h12-May-09 18:15
N a v a n e e t h12-May-09 18:15 
GeneralRe: Using the New keyword Pin
PIEBALDconsult13-May-09 3:21
mvePIEBALDconsult13-May-09 3:21 
GeneralRe: Using the New keyword Pin
Mycroft Holmes12-May-09 19:09
professionalMycroft Holmes12-May-09 19:09 
GeneralRe: Using the New keyword Pin
Luc Pattyn12-May-09 23:58
sitebuilderLuc Pattyn12-May-09 23:58 
QuestionRetrieving USB Barcode scanner data... Pin
Jacob Dixon12-May-09 14:58
Jacob Dixon12-May-09 14:58 
AnswerRe: Retrieving USB Barcode scanner data... Pin
Mycroft Holmes12-May-09 15:28
professionalMycroft Holmes12-May-09 15:28 
GeneralRe: Retrieving USB Barcode scanner data... Pin
Jacob Dixon12-May-09 15:54
Jacob Dixon12-May-09 15:54 
GeneralRe: Retrieving USB Barcode scanner data... Pin
Luc Pattyn12-May-09 17:12
sitebuilderLuc Pattyn12-May-09 17:12 
AnswerRe: Retrieving USB Barcode scanner data... Pin
Dave Kreskowiak12-May-09 17:19
mveDave Kreskowiak12-May-09 17:19 
GeneralRe: Retrieving USB Barcode scanner data... Pin
Mycroft Holmes12-May-09 19:07
professionalMycroft Holmes12-May-09 19:07 
GeneralRe: Retrieving USB Barcode scanner data... Pin
Jacob Dixon13-May-09 3:06
Jacob Dixon13-May-09 3:06 
AnswerRe: Retrieving USB Barcode scanner data... Pin
cackharot27-May-09 15:03
cackharot27-May-09 15:03 
GeneralRe: Retrieving USB Barcode scanner data... Pin
Jacob Dixon28-May-09 4:17
Jacob Dixon28-May-09 4:17 
QuestionSending file via TCP protocol Pin
nike_arh12-May-09 10:31
nike_arh12-May-09 10:31 

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.