Click here to Skip to main content
15,900,423 members
Home / Discussions / C#
   

C#

 
AnswerRe: What is the difference between Object Oriented,Object based and purely Object Oriented in terms of any language ? Pin
Florian Braun14-Apr-15 21:40
professionalFlorian Braun14-Apr-15 21:40 
Questionbest coding practises in c# Pin
dhivya.sakthi14-Apr-15 19:14
dhivya.sakthi14-Apr-15 19:14 
AnswerRe: best coding practises in c# Pin
Gyana_Ranjan Dash14-Apr-15 19:38
Gyana_Ranjan Dash14-Apr-15 19:38 
AnswerRe: best coding practises in c# Pin
V.14-Apr-15 20:15
professionalV.14-Apr-15 20:15 
AnswerRe: best coding practises in c# Pin
aadhira14-Apr-15 20:22
aadhira14-Apr-15 20:22 
GeneralRe: best coding practises in c### Pin
dhivya.sakthi14-Apr-15 20:40
dhivya.sakthi14-Apr-15 20:40 
SuggestionRe: best coding practises in c# Pin
aadhira14-Apr-15 21:09
aadhira14-Apr-15 21:09 
GeneralMessage Removed Pin
14-Apr-15 19:11
dhivya.sakthi14-Apr-15 19:11 
QuestionGeneric interface and generic delegate in simple terms. Pin
Gyana_Ranjan Dash14-Apr-15 2:14
Gyana_Ranjan Dash14-Apr-15 2:14 
AnswerRe: Generic interface and generic delegate in simple terms. Pin
Pete O'Hanlon14-Apr-15 2:44
mvePete O'Hanlon14-Apr-15 2:44 
GeneralRe: Generic interface and generic delegate in simple terms. Pin
Gyana_Ranjan Dash14-Apr-15 2:49
Gyana_Ranjan Dash14-Apr-15 2:49 
GeneralRe: Generic interface and generic delegate in simple terms. Pin
Pete O'Hanlon14-Apr-15 4:53
mvePete O'Hanlon14-Apr-15 4:53 
GeneralRe: Generic interface and generic delegate in simple terms. Pin
Simon_Whale14-Apr-15 5:16
Simon_Whale14-Apr-15 5:16 
GeneralRe: Generic interface and generic delegate in simple terms. Pin
Pete O'Hanlon14-Apr-15 5:53
mvePete O'Hanlon14-Apr-15 5:53 
GeneralRe: Generic interface and generic delegate in simple terms. Pin
BillWoodruff14-Apr-15 7:13
professionalBillWoodruff14-Apr-15 7:13 
GeneralRe: Generic interface and generic delegate in simple terms. Pin
Pete O'Hanlon14-Apr-15 7:22
mvePete O'Hanlon14-Apr-15 7:22 
GeneralRe: Generic interface and generic delegate in simple terms. Pin
Gyana_Ranjan Dash14-Apr-15 19:30
Gyana_Ranjan Dash14-Apr-15 19:30 
GeneralRe: Generic interface and generic delegate in simple terms. Pin
Pete O'Hanlon14-Apr-15 20:03
mvePete O'Hanlon14-Apr-15 20:03 
AnswerRe: Generic interface and generic delegate in simple terms. Pin
BillWoodruff14-Apr-15 8:05
professionalBillWoodruff14-Apr-15 8:05 
GeneralRe: Generic interface and generic delegate in simple terms. Pin
Richard Deeming14-Apr-15 9:18
mveRichard Deeming14-Apr-15 9:18 
GeneralRe: Generic interface and generic delegate in simple terms. Pin
BillWoodruff14-Apr-15 12:21
professionalBillWoodruff14-Apr-15 12:21 
Hi Richard, thanks for your feedback !
Richard Deeming wrote:
You've added a generic type parameter ... but you don't seem to use it anywher
"Yes" in the sense that IPersist could be defined without the generic parameter and still "work;" "no" in the sense that constraining IPersist using 'Where does require generic declaration.
Richard Deeming wrote:
serializer field ... should be a local variable in both methods.
Spot on !
Richard Deeming wrote:
missed the set; (or the body of the get;) on the FilePath auto-property.
That syntax is certainly legal/compilable in .NET 4.5. An "automatic" property with only a 'getter is de facto readonly. If you think that's a code-smell, I'd be inclined to accept your view. There are those who believe strongly that all automatic properties are "suspect: [^].

At this point, I am not really sure my code example demonstrated the "true virtue" of a "generic interface," but I am very happy to get the chance to learn from you, Pete, and Eddy !
«To kill an error's as good a service, sometimes better than, establishing new truth or fact.» Charles Darwin in "Prospero's Precepts"

GeneralRe: Generic interface and generic delegate in simple terms. Pin
Richard Deeming15-Apr-15 1:03
mveRichard Deeming15-Apr-15 1:03 
GeneralRe: Generic interface and generic delegate in simple terms. Pin
BillWoodruff15-Apr-15 2:58
professionalBillWoodruff15-Apr-15 2:58 
GeneralRe: Generic interface and generic delegate in simple terms. Pin
Sascha Lefèvre15-Apr-15 3:39
professionalSascha Lefèvre15-Apr-15 3:39 
GeneralRe: Generic interface and generic delegate in simple terms. Pin
Pete O'Hanlon14-Apr-15 9:32
mvePete O'Hanlon14-Apr-15 9:32 

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.