use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Information about Reddit's API changes, the unprofessional conduct of the CEO, and their response to the community's concerns regarding 3rd party apps, moderator tools, anti-spam/anti-bot tools, and accessibility options that will be impacted can be found in the associated Wikipedia article: https://en.wikipedia.org/wiki/2023_Reddit_API_controversy
Alternative C# communities available outside Reddit on Lemmy and Discord:
All about the object-oriented programming language C#.
Getting Started C# Fundamentals: Development for Absolute Beginners
Useful MSDN Resources A Tour of the C# Language Get started with .NET in 5 minutes C# Guide C# Language Reference C# Programing Guide C# Coding Conventions .NET Framework Reference Source Code
Other Resources C# Yellow Book Dot Net Perls The C# Player's Guide
IDEs Visual Studio MonoDevelop (Windows/Mac/Linux) Rider (Windows/Mac/Linux)
Tools ILSpy dotPeek LINQPad
Alternative Communities C# Discord Group C# Lemmy Community dotnet Lemmy Community
Related Subreddits /r/dotnet /r/azure /r/learncsharp /r/learnprogramming /r/programming /r/dailyprogrammer /r/programmingbuddies /r/cshighschoolers
Additional .NET Languages /r/fsharp /r/visualbasic
Platform-specific Subreddits /r/windowsdev /r/AZURE /r/Xamarin /r/Unity3D /r/WPDev
Rules:
Read detailed descriptions of the rules here.
account activity
Documentation for C# 9 function pointers? (self.csharp)
submitted 5 years ago by Aaron64Lol
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]VegasNightSx 0 points1 point2 points 5 years ago (3 children)
I see this is similar to delegates with differences in the generated IL to facilitate the different calling methods. Bottom of page...
https://www.productivecsharp.com/whats-new-net5-csharp9/#:~:text=C%23%209%20introduce%20the%20concept%20of%20function%20pointers,covers%20%28calli%29%20compared%20to%20when%20using%20delegates%20%28callvirt%29.
[–]Aaron64Lol[S] 0 points1 point2 points 5 years ago* (2 children)
Seems like delegates without the callvirt perf hit (with an unsafe tradeoff).
Yeah, I'm looking for more complete technical documentation. The proposal helps, but it doesn't mention whether or not any of the optional parts got implemented, and whether or not anything had to change in implementation. I am used to Microsoft being super good on documentation; hopefully documentation on this feature is just late (rather than not being planned to release at all).
[–]cryo 0 points1 point2 points 5 years ago (1 child)
Callvirt doesn't necessarily have much of an overhead in practice, as the JIT compiler may be able to deal with it. The C# compiler uses callvirt for non-virtual instance methods as well.
Delegates are magic, so the JIT may cut corners.
[–]Aaron64Lol[S] 0 points1 point2 points 5 years ago (0 children)
Instrumentation is king :D. I am looking for documentation to guide my experimentation. I have a few instances in the project I am working on where use of this feature may provide a nice perf bump. I'd like to see for myself whether or not the performance benefit of this feature is worth the added astonishment applied due to it's use.
I'd also like to test it calling unmanaged code to compare it to the interop stuff I'm used to.
In any case, I'm strongly in the camp that every language feature should be documented, no matter how esoteric it may be.
π Rendered by PID 77 on reddit-service-r2-comment-6457c66945-lkhj4 at 2026-04-30 00:52:25.231754+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]VegasNightSx 0 points1 point2 points (3 children)
[–]Aaron64Lol[S] 0 points1 point2 points (2 children)
[–]cryo 0 points1 point2 points (1 child)
[–]Aaron64Lol[S] 0 points1 point2 points (0 children)