Click here to Skip to main content
15,907,000 members
Home / Discussions / C#
   

C#

 
AnswerRe: Windows Service Pin
mverbeke31-Aug-21 3:40
mverbeke31-Aug-21 3:40 
Questionusing Rect, Vertex, Point in windowsbase.dll: better performance compared to the usual ? Pin
BillWoodruff25-Aug-21 15:34
professionalBillWoodruff25-Aug-21 15:34 
QuestionC# and Excel don't work in a computer without Visual Studio Pin
Ismael Oliveira 202124-Aug-21 12:57
Ismael Oliveira 202124-Aug-21 12:57 
AnswerRe: C# and Excel don't work in a computer without Visual Studio Pin
RedDk24-Aug-21 13:56
RedDk24-Aug-21 13:56 
AnswerRe: C# and Excel don't work in a computer without Visual Studio Pin
Richard MacCutchan24-Aug-21 21:43
mveRichard MacCutchan24-Aug-21 21:43 
GeneralRe: C# and Excel don't work in a computer without Visual Studio Pin
Ismael Oliveira 202125-Aug-21 12:20
Ismael Oliveira 202125-Aug-21 12:20 
GeneralRe: C# and Excel don't work in a computer without Visual Studio Pin
Richard MacCutchan25-Aug-21 21:58
mveRichard MacCutchan25-Aug-21 21:58 
GeneralRe: C# and Excel don't work in a computer without Visual Studio Pin
Ismael Oliveira 202126-Aug-21 4:03
Ismael Oliveira 202126-Aug-21 4:03 
GeneralRe: C# and Excel don't work in a computer without Visual Studio Pin
Ismael Oliveira 202126-Aug-21 4:51
Ismael Oliveira 202126-Aug-21 4:51 
GeneralRe: C# and Excel don't work in a computer without Visual Studio Pin
Richard MacCutchan26-Aug-21 4:55
mveRichard MacCutchan26-Aug-21 4:55 
GeneralRe: C# and Excel don't work in a computer without Visual Studio Pin
Ismael Oliveira 202126-Aug-21 10:41
Ismael Oliveira 202126-Aug-21 10:41 
GeneralRe: C# and Excel don't work in a computer without Visual Studio Pin
Dave Kreskowiak26-Aug-21 5:08
mveDave Kreskowiak26-Aug-21 5:08 
GeneralRe: C# and Excel don't work in a computer without Visual Studio Pin
Ismael Oliveira 202126-Aug-21 19:46
Ismael Oliveira 202126-Aug-21 19:46 
AnswerRe: C# and Excel don't work in a computer without Visual Studio Pin
Dave Kreskowiak25-Aug-21 12:22
mveDave Kreskowiak25-Aug-21 12:22 
GeneralRe: C# and Excel don't work in a computer without Visual Studio Pin
Ismael Oliveira 202126-Aug-21 4:04
Ismael Oliveira 202126-Aug-21 4:04 
AnswerRe: C# and Excel don't work in a computer without Visual Studio Pin
Richard Andrew x6426-Aug-21 9:43
professionalRichard Andrew x6426-Aug-21 9:43 
QuestionSolve Web Service Error Pin
Luis M. Rojas24-Aug-21 2:43
Luis M. Rojas24-Aug-21 2:43 
AnswerRe: Solve Web Service Error Pin
Pete O'Hanlon24-Aug-21 10:18
mvePete O'Hanlon24-Aug-21 10:18 
QuestionHow to make an inactive window work and respond to buttons (C# .NET windows forms) Pin
Marcin Rajczakowski23-Aug-21 10:31
Marcin Rajczakowski23-Aug-21 10:31 
AnswerRe: How to make an inactive window work and respond to buttons (C# .NET windows forms) Pin
BillWoodruff23-Aug-21 11:20
professionalBillWoodruff23-Aug-21 11:20 
GeneralInterfaces with code in them Pin
Rob Philpott20-Aug-21 0:22
Rob Philpott20-Aug-21 0:22 
GeneralRe: Interfaces with code in them Pin
Richard Deeming20-Aug-21 0:40
mveRichard Deeming20-Aug-21 0:40 
Yes, default interface methods look like a complete mess to me:
Interfaces can now include static members, including fields and methods. Different access modifiers are also enabled. The additional fields are private, the new method is public. Any of the modifiers are allowed on interface members.
Thankfully, it's restricted to .NET Core 3.0 or later. With no SSRS support in .NET Core / .NET 5, we're sticking with .NET Framework 4.8, so our interfaces shall remain untainted by this abomination.

If you're interested, Matt Warren digs into the low-level "behind the scenes" details here:
Under the hood of "Default Interface Methods" · Performance is a Feature![^]

Oh, and things are set to get even worse in C# 10:
[Proposal]: Static abstract members in interfaces · Issue #4436 · dotnet/csharplang · GitHub[^]



"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer

GeneralRe: Interfaces with code in them Pin
Rob Philpott20-Aug-21 0:55
Rob Philpott20-Aug-21 0:55 
GeneralRe: Interfaces with code in them Pin
pkfox29-Aug-21 22:46
professionalpkfox29-Aug-21 22:46 
GeneralRe: Interfaces with code in them Pin
Gerry Schmitz20-Aug-21 6:48
mveGerry Schmitz20-Aug-21 6:48 

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.