© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•11mo ago•
4 replies
wl32611

I don't understand why function pointer works this way.

In this code, an error occurs when TestMode = 1 or 2 and no error occurs when TestMode = 3.

I get the same result whether I use Release Build, Debug Build, or Ctrl+F5.
I am using C# 9.
code2.png
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

✅ I don't understand GC
C#CC# / help
4y ago
function pointer
C#CC# / help
3y ago
I dont understand how this works
C#CC# / help
3y ago
I don't understand this warning: BL Mapping (Mapperly)
C#CC# / help
13mo ago