Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Pass array as a ref object to C# function#2587

Unanswered
yezhou2000 asked this question inQ&A
Discussion options

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

You must be logged in to vote

Replies: 0 comments

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
Q&A
Labels
None yet
1 participant
@yezhou2000
Converted from issue

This discussion was converted from issue #2586 on April 16, 2025 12:41.


[8]ページ先頭

©2009-2025 Movatter.jp