2
Answers

Executing a exe file from within c#

mailinglist

mailinglist

20y
2.9k
1
Hi I am new to C#. I have a C++ program which I would like to execute when my C# program runs. I can compile my C++ program to an exe and have the C# program call it but how do I do this?
Answers (2)
0
Hemant Srivastava

Hemant Srivastava

NA 9k 2.8m 11y
Jagged arrays are faster and have different syntax.
They are faster because they use the "newarr", vector IL calls internally.
0
Vulpes

Vulpes

NA 98.3k 1.5m 11y
Even if the rows have the same length, a jagged array is sometimes preferable to a rectangular array because it's easy to extract a whole row and pass it to another method, say, for further processing.

With a rectangular array, you have to create a single dimensional array and copy elements to it for the row you're interested in.