© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
11 replies
Gladiator

❔ Consider struct or class types for small event args

Do you consider to define small event args (e.g. two floats or ints inside) as struct type to avoid GC especially for events which happen frequently?
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

❔ static fields for struct types
C#CC# / help
4y ago
❔ Struct vs Class
C#CC# / help
3y ago
❔ API call input parameter of struct or class
C#CC# / help
4y ago
Hide private partial class/struct members
C#CC# / help
2y ago