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

C#

 
QuestionRDLC Report Data Set Pin
Member 1405713721-Feb-19 13:14
Member 1405713721-Feb-19 13:14 
AnswerRe: RDLC Report Data Set Pin
Gerry Schmitz22-Feb-19 4:37
mveGerry Schmitz22-Feb-19 4:37 
GeneralRe: RDLC Report Data Set Pin
Member 1405713725-Feb-19 7:55
Member 1405713725-Feb-19 7:55 
QuestionChanging textBox from Method Pin
ormonds21-Feb-19 10:11
ormonds21-Feb-19 10:11 
AnswerRe: Changing textBox from Method Pin
Eddy Vluggen21-Feb-19 11:07
professionalEddy Vluggen21-Feb-19 11:07 
AnswerRe: Changing textBox from Method Pin
Mycroft Holmes21-Feb-19 11:11
professionalMycroft Holmes21-Feb-19 11:11 
GeneralRe: Changing textBox from Method Pin
ormonds21-Feb-19 16:48
ormonds21-Feb-19 16:48 
QuestionWHENTO Expect C# 8 to be released with Visual Studio and Default Interface Mathods (aka Multiple Inheritance). Pin
Member 1047477121-Feb-19 4:06
professionalMember 1047477121-Feb-19 4:06 
I read the daily CodeProject news, and came this article:
tps://www.codejourney.net/2019/02/csharp-8-default-interface-methods/

It is about C# finally getting multiple inheritance, kind of like C++, albeit through interfaces
I am very excited for this.

But when will this come out for say VS2017?
And I am referring to something like an official patch or update and/or maybe the next Visual Studio.

The article goes int details that this feature will only be for CoreCLR, which I've not tried yet.
Is there any news on it going to regular .NET Framework?

Also, how will custom attributes work with default interface methods?

This is something I've wanted since C#'s inception. It will greatly improve code STABILITY, re-useability and sharing, even more so than extension methods. I only wish C# would go full bore multiple inheritance so we can have multiple constructors getting launched.

But before going, I really want to just harp on my statement about STABILITY.

I can truly say that for 20+ years of C++ development, with multiple inheritance, I never ONCE even slightly encountered the "Diamond of Death". It was never an issue. C++ multiple inheritance allowed code to be re-used, over and over and over again, which meant, code got more and more tested as time progressed. that translated to better and more STABLE code.

When C# prevented multiple inheritance, and especially in the few years before entension methods, code in C# was cut/copy/pasted over and over and over again, causing old code with problems, to get cloned in their BAD-STATE, and then re-used for all time, until someone came out and hunted each and every instance of the clones down, and got rid of them. This cloning syndrome went on until extension methods came out, which was pretty much from 2001 till 2010.

But even after 2010, in my experience, there were so many people still harping about the "Diamond of Death", that they actually gimped development companies, to not allow extension methods. These ~people~ forced all development to have to cut/copy/paste code, over and over again, even if it was known to not be optimal and/or maybe even out right have BUGS.
AnswerRe: WHENTO Expect C# 8 to be released with Visual Studio and Default Interface Mathods (aka Multiple Inheritance). Pin
Eddy Vluggen21-Feb-19 4:16
professionalEddy Vluggen21-Feb-19 4:16 
AnswerRe: WHENTO Expect C# 8 to be released with Visual Studio and Default Interface Mathods (aka Multiple Inheritance). Pin
Dave Kreskowiak21-Feb-19 5:03
mveDave Kreskowiak21-Feb-19 5:03 
AnswerRe: WHENTO Expect C# 8 to be released with Visual Studio and Default Interface Mathods (aka Multiple Inheritance). Pin
OriginalGriff21-Feb-19 5:14
mveOriginalGriff21-Feb-19 5:14 
QuestionEnabling Control from Method Pin
ormonds20-Feb-19 12:22
ormonds20-Feb-19 12:22 
AnswerRe: Enabling Control from Method Pin
Dave Kreskowiak20-Feb-19 14:04
mveDave Kreskowiak20-Feb-19 14:04 
AnswerRe: Enabling Control from Method Pin
OriginalGriff20-Feb-19 20:18
mveOriginalGriff20-Feb-19 20:18 
PraiseRe: Enabling Control from Method Pin
ormonds20-Feb-19 21:14
ormonds20-Feb-19 21:14 
GeneralRe: Enabling Control from Method Pin
OriginalGriff20-Feb-19 21:27
mveOriginalGriff20-Feb-19 21:27 
GeneralRe: Enabling Control from Method Pin
Richard MacCutchan21-Feb-19 1:05
mveRichard MacCutchan21-Feb-19 1:05 
QuestionRetrieve all comments in a worksheet using OpenXML Pin
Gli Invicibili18-Feb-19 18:29
Gli Invicibili18-Feb-19 18:29 
AnswerRe: Retrieve all comments in a worksheet using OpenXML Pin
Richard MacCutchan18-Feb-19 21:32
mveRichard MacCutchan18-Feb-19 21:32 
Question(Kinda SOLVED) Active Directory update (do I really need "Run As Administrator"?!) Pin
Super Lloyd18-Feb-19 13:11
Super Lloyd18-Feb-19 13:11 
QuestionOverridden OnPaint method not called on form Pin
pr1mem0ver17-Feb-19 22:37
pr1mem0ver17-Feb-19 22:37 
AnswerRe: Overridden OnPaint method not called on form Pin
OriginalGriff17-Feb-19 23:02
mveOriginalGriff17-Feb-19 23:02 
GeneralRe: Overridden OnPaint method not called on form Pin
pr1mem0ver17-Feb-19 23:47
pr1mem0ver17-Feb-19 23:47 
GeneralRe: Overridden OnPaint method not called on form Pin
OriginalGriff18-Feb-19 0:04
mveOriginalGriff18-Feb-19 0:04 
SuggestionRe: Overridden OnPaint method not called on form Pin
Ralf Meier18-Feb-19 0:08
mveRalf Meier18-Feb-19 0:08 

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.