© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•12mo ago•
6 replies
Crazy Cactuar

How to get a specific value from a method with multiple return values?

I want to access all of the int values when I call a method with the return line shown in the image, how would I go about writing it?
e.g. I want to assign exp & gold to variables but don't know how to get them (is it done through an index???)
image.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

❔ Return two values from a method
C#CC# / help
3y ago
✅ Getting multiple return values from a method called using InvokeMember
C#CC# / help
3y ago