- Notifications
You must be signed in to change notification settings - Fork748
Pass array as a ref object to C# function#2587
Unanswered
yezhou2000 asked this question inQ&A
-
I wanted to call a C# function from Python (currently I only have the compiled DLL file and no access to the C# source code). I’ve found that the C# function requires a ref object parameter as its input. In my Python code, I have an already defined array. How can I pass this array into the C# function correctly as a ref object? For your reference, I’m using Python 3.7 and pythonnet version 2.5.2 |
BetaWas this translation helpful?Give feedback.
All reactions
Replies: 0 comments
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Labels
None yet
Converted from issue
This discussion was converted from issue #2586 on April 16, 2025 12:41.