Questions tagged [c#]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
0 answers

Are delegates still relevant in modern C#?

Delegates have been part of the design of C# for decades. But would it be wrong to say that over time, all the uses of delegates have become better achieved through other means? (Or, dramatically ...
Eldritch Conundrum's user avatar
11 votes
1 answer

Async Implementation

I have recently been making my own programming language and I am finding most concepts easy to understand, however I'm not sure how to implement async/await in my language. ATM, I'm using C# to create ...
InvaderIzzy's user avatar
2 votes
1 answer

What if all static methods in Java or C# could be extension methods just by default?

C# 3.0 introduced extension methods to "enhance" behavior of existing types without interface bloating to avoid modifying/breaking existing interfaces. This was the first time I learned of ...
terrorrussia-keeps-killing's user avatar
14 votes
3 answers

Why does C# have events as a language construct, rather than in the standard library?

In C#, events and event listeners have direct support within the language, with event being a keyword, and event declarations being a special kind of member ...
kaya3's user avatar
  • 17.3k