Click here to Skip to main content
15,887,027 members
Home / Discussions / C#
   

C#

 
AnswerRe: Sharepoint Pin
Andre Oosthuizen7-Aug-23 23:15
mveAndre Oosthuizen7-Aug-23 23:15 
GeneralRe: Sharepoint Pin
Kevin Marois8-Aug-23 12:22
professionalKevin Marois8-Aug-23 12:22 
GeneralRe: Sharepoint Pin
Andre Oosthuizen8-Aug-23 22:22
mveAndre Oosthuizen8-Aug-23 22:22 
Question.NET 7 C# 8: using new Interface "features" ? Pin
BillWoodruff6-Aug-23 0:54
professionalBillWoodruff6-Aug-23 0:54 
AnswerRe: .NET 7 C# 8: using new Interface "features" ? Pin
Richard Andrew x646-Aug-23 6:14
professionalRichard Andrew x646-Aug-23 6:14 
GeneralRe: .NET 7 C# 8: using new Interface "features" ? Pin
BillWoodruff6-Aug-23 6:29
professionalBillWoodruff6-Aug-23 6:29 
GeneralRe: .NET 7 C# 8: using new Interface "features" ? Pin
trønderen6-Aug-23 10:03
trønderen6-Aug-23 10:03 
GeneralRe: .NET 7 C# 8: using new Interface "features" ? Pin
OriginalGriff6-Aug-23 11:09
mveOriginalGriff6-Aug-23 11:09 
You can't multi-inherit abstract classes, but in all versions you can inherit from a base class and multiple Interfaces.
So adding default methods to Interfaces brings them a lot closer to a class and a fair impersonation of multiple class inheritance - remember that the only real difference between a "traditional" Interface and an abstract class is that the interface contains no code but enforces what you must implement, while the class provides methods and requires implementation.

It's useful, but ... just like var and dynamic it's wide open to abuse, and going to give problems when you inherit "lazy coder" apps.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!

GeneralRe: .NET 7 C# 8: using new Interface "features" ? Pin
Gerry Schmitz6-Aug-23 14:38
mveGerry Schmitz6-Aug-23 14:38 
GeneralRe: .NET 7 C# 8: using new Interface "features" ? Pin
BillWoodruff6-Aug-23 15:38
professionalBillWoodruff6-Aug-23 15:38 
GeneralRe: .NET 7 C# 8: using new Interface "features" ? Pin
harold aptroot6-Aug-23 20:55
harold aptroot6-Aug-23 20:55 
AnswerRe: .NET 7 C# 8: using new Interface "features" ? Pin
Richard Deeming6-Aug-23 22:12
mveRichard Deeming6-Aug-23 22:12 
GeneralRe: .NET 7 C# 8: using new Interface "features" ? Pin
BillWoodruff7-Aug-23 5:58
professionalBillWoodruff7-Aug-23 5:58 
GeneralRe: .NET 7 C# 8: using new Interface "features" ? Pin
Richard Deeming7-Aug-23 21:33
mveRichard Deeming7-Aug-23 21:33 
AnswerRe: .NET 7 C# 8: using new Interface "features" ? Pin
lmoelleb7-Aug-23 1:08
lmoelleb7-Aug-23 1:08 
QuestionRunning a C# class - first attempt Pin
Clive Long 20232-Aug-23 0:16
Clive Long 20232-Aug-23 0:16 
AnswerRe: Running a C# class - first attempt Pin
Richard Deeming2-Aug-23 0:31
mveRichard Deeming2-Aug-23 0:31 
GeneralRe: Running a C# class - first attempt Pin
Clive Long 20232-Aug-23 2:14
Clive Long 20232-Aug-23 2:14 
GeneralRe: Running a C# class - first attempt Pin
Richard MacCutchan2-Aug-23 2:27
mveRichard MacCutchan2-Aug-23 2:27 
GeneralRe: Running a C# class - first attempt Pin
Clive Long 20232-Aug-23 3:57
Clive Long 20232-Aug-23 3:57 
GeneralRe: Running a C# class - first attempt Pin
Richard MacCutchan2-Aug-23 4:10
mveRichard MacCutchan2-Aug-23 4:10 
GeneralRe: Running a C# class - first attempt Pin
OriginalGriff2-Aug-23 21:32
mveOriginalGriff2-Aug-23 21:32 
QuestionExtract Data from PDF's Pin
Kevin Marois31-Jul-23 16:10
professionalKevin Marois31-Jul-23 16:10 
AnswerRe: Extract Data from PDF's PinPopular
OriginalGriff31-Jul-23 18:39
mveOriginalGriff31-Jul-23 18:39 
GeneralRe: Extract Data from PDF's Pin
Kevin Marois1-Aug-23 6:59
professionalKevin Marois1-Aug-23 6:59 

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.