I have an unmanaged API function and below mentioned is it's equivalent c# code...
Myfunction(unit handle, int index, out bool flag,out int value, out string name); Here the variable index varies from 0 to 59. I am able to fetch the data individually. I mean I can pass value to the variable index from a TextBox and I am getting the corresponding outputs. But how to collect the values in an array fashion. Each time I don't want to give index input I simply want to display all the values in a ListBox... How to achieve this?