Related: A list of multiple data types?
I want to know how to store different array types (including system types) inside an array.
The above question covered ho
You should create a class
public class MyClass
{
public string x {get;set;}
public double y{get;set;}
}
Then just create an array of that class. This class can have whatever types you want, that's the beauty of having objects in an object oriented language.
public MyClass[] someList=new MyClass[insert_number_of_elements];