Click here to Skip to main content
15,908,775 members
Home / Discussions / C#
   

C#

 
GeneralRe: Does this ensure function1 and function2 use my class in thread safe way? Pin
PIEBALDconsult5-Feb-16 16:45
mvePIEBALDconsult5-Feb-16 16:45 
GeneralRe: Does this ensure function1 and function2 use my class in thread safe way? Pin
Member 120616005-Feb-16 21:57
Member 120616005-Feb-16 21:57 
GeneralRe: Does this ensure function1 and function2 use my class in thread safe way? Pin
Gerry Schmitz6-Feb-16 6:05
mveGerry Schmitz6-Feb-16 6:05 
GeneralRe: Does this ensure function1 and function2 use my class in thread safe way? Pin
Member 120616006-Feb-16 7:13
Member 120616006-Feb-16 7:13 
GeneralRe: Does this ensure function1 and function2 use my class in thread safe way? Pin
Gerry Schmitz6-Feb-16 7:20
mveGerry Schmitz6-Feb-16 7:20 
GeneralRe: Does this ensure function1 and function2 use my class in thread safe way? Pin
Member 120616006-Feb-16 7:57
Member 120616006-Feb-16 7:57 
GeneralRe: Does this ensure function1 and function2 use my class in thread safe way? Pin
PIEBALDconsult5-Feb-16 15:00
mvePIEBALDconsult5-Feb-16 15:00 
GeneralRe: Does this ensure function1 and function2 use my class in thread safe way? Pin
Member 120616005-Feb-16 21:55
Member 120616005-Feb-16 21:55 
GeneralRe: Does this ensure function1 and function2 use my class in thread safe way? Pin
PIEBALDconsult6-Feb-16 2:18
mvePIEBALDconsult6-Feb-16 2:18 
GeneralRe: Does this ensure function1 and function2 use my class in thread safe way? Pin
Member 120616006-Feb-16 4:26
Member 120616006-Feb-16 4:26 
GeneralRe: Does this ensure function1 and function2 use my class in thread safe way? Pin
PIEBALDconsult6-Feb-16 5:23
mvePIEBALDconsult6-Feb-16 5:23 
GeneralRe: Does this ensure function1 and function2 use my class in thread safe way? Pin
Member 120616006-Feb-16 7:15
Member 120616006-Feb-16 7:15 
QuestionMessage Closed Pin
4-Feb-16 22:34
ginsa vaheed4-Feb-16 22:34 
AnswerRe: Can we developed c# code for Information KIOSK.? Pin
Pete O'Hanlon4-Feb-16 23:04
mvePete O'Hanlon4-Feb-16 23:04 
AnswerRe: Can we developed c# code for Information KIOSK.? Pin
F-ES Sitecore4-Feb-16 23:43
professionalF-ES Sitecore4-Feb-16 23:43 
GeneralRe: Can we developed c# code for Information KIOSK.? Pin
Richard Deeming5-Feb-16 3:50
mveRichard Deeming5-Feb-16 3:50 
GeneralRe: Can we developed c# code for Information KIOSK.? Pin
F-ES Sitecore5-Feb-16 4:02
professionalF-ES Sitecore5-Feb-16 4:02 
Questionwhen inheritance is ignored ? the limited scope of using 'new with methods Pin
BillWoodruff4-Feb-16 22:12
professionalBillWoodruff4-Feb-16 22:12 
AnswerRe: when inheritance is ignored ? the limited scope of using 'new with methods Pin
Eddy Vluggen4-Feb-16 23:56
professionalEddy Vluggen4-Feb-16 23:56 
AnswerRe: when inheritance is ignored ? the limited scope of using 'new with methods Pin
Sascha Lefèvre5-Feb-16 0:41
professionalSascha Lefèvre5-Feb-16 0:41 
AnswerRe: when inheritance is ignored ? the limited scope of using 'new with methods Pin
John Torjo6-Feb-16 2:13
professionalJohn Torjo6-Feb-16 2:13 
BillWoodruff wrote:
But, in terms of why method over-riding with 'new is defined as limited in scope in terms of inheritance: I can't say I understand that.


It certainly looks weird, but to me it looks like since "new" is supposed to work together with access identifiers, it should play nice with all of them. Or, simply not have access identifier, and just inherit it from the Base class' method - which now that I think of it, probably would have mad more sense Big Grin | :-D *

Having said that "it should play nice", I think the default behavior for new private is the right one - what else should it do?

* inheriting from Base method might not work either, because we can have several methods with the same name, and they each can have their own access identifier. So, it would need to inherit the one with the same signature as its own.

Best,
John
-- Log Wizard - a Log Viewer that is easy and fun to use!

SuggestionRe: when inheritance is ignored ? the limited scope of using 'new with methods Pin
Sascha Lefèvre6-Feb-16 14:29
professionalSascha Lefèvre6-Feb-16 14:29 
GeneralRe: when inheritance is ignored ? the limited scope of using 'new with methods Pin
John Torjo6-Feb-16 14:42
professionalJohn Torjo6-Feb-16 14:42 
QuestionWrite log from multiple instances of an application. Pin
NJdotnetdev3-Feb-16 2:59
NJdotnetdev3-Feb-16 2:59 
AnswerRe: Write log from multiple instances of an application. Pin
Richard Deeming3-Feb-16 4:02
mveRichard Deeming3-Feb-16 4:02 

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.