© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
2 replies
eric bonito

Hi is it possible to allow parametersArray to contain an instance variable?

I am trying to access a method in a way that is dynamic. The method has byRef variables. Is this feasible?
methodInfo.Invoke(currentObject, parametersArray)
methodInfo.Invoke(currentObject, parametersArray)
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

❔ Is it possible to use a variable name in an object call?
C#CC# / help
4y ago
❔ Is it possible to put a method into a variable and call the variable?
C#CC# / help
4y ago
Is it possible to allow an installer to downgrade dll's while not overwriting other app files?
C#CC# / help
4y ago
Is it possible to pin an array using reflection?
C#CC# / help
2y ago