Lemmy.one
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
starman@programming.dev to C Sharp@programming.dev ·
edit-2
3 years ago

New C# 12 experimenal feature: Interceptors

message-square
message-square
4
fedilink
10
message-square

New C# 12 experimenal feature: Interceptors

starman@programming.dev to C Sharp@programming.dev ·
edit-2
3 years ago
message-square
4
fedilink

Link to GitHub issue: https://github.com/dotnet/csharplang/issues/7009

Link to video explaing it: https://youtu.be/91xir2oUQPg

  • Kogasa@programming.dev
    link
    fedilink
    arrow-up
    10
    ·
    3 years ago

    Love the implications of this as a compile time alternative for reflection, really hope I never run into it personally though.

    • starman@programming.devOP
      link
      fedilink
      arrow-up
      4
      ·
      3 years ago

      I agree, this reminds me of goto

      • FamiliarSoftware@programming.dev
        cake
        link
        fedilink
        arrow-up
        4
        ·
        3 years ago

        It’s worse, this is literally comefrom

C Sharp@programming.dev

csharp@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !csharp@programming.dev

A community about the C# programming language

Getting started

  • C# @ Wikipedia
  • A Tour of the C# Language
  • Learn C#

Useful resources

  • C# documentation
  • C# Language Reference
  • C# Programming Guide
  • C# Coding Conventions
  • .NET Framework Reference Source Code

IDEs and code editors

  • Visual Studio (Windows/Mac)
  • Rider (Windows/Mac/Linux)
  • Visual Studio Code (Windows/Mac/Linux)

Tools

  • Decompilers: ILSpy, dotPeek
  • Scratchpad: LINQPad
  • Online playground and IL viewer: SharpLab

Rules

  • Rule 1: Follow Lemmy rules
  • Rule 2: Be excellent to each other, no hostility towards users for any reason
  • Rule 3: No spam of tools/companies/advertisements

Related communities

  • c/dotnet
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 1 user / day
  • 1 user / week
  • 13 users / month
  • 118 users / 6 months
  • 20 local subscribers
  • 1.8K subscribers
  • 268 Posts
  • 332 Comments
  • Modlog
  • mods:
  • Ategon@programming.dev
  • nibblebit@programming.dev
  • Spyros@programming.dev
  • BE: 0.19.7
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org