how to set an object into C++ from C#
<p>I want to configure a C++ project from C#.</p>

<p>E.g: If I have this class in C#:</p>

<pre><code>public class Person
{
    public Person(){}

    public string FirstName
    {get; set;}

    public string LastName
    {get; set;}

    public int Age
    {get; set;}
}
</code></pre>

<p>Then I have a list of persons:</p>

<pre><code>Person per1 = new Person();
per1.FirstName = "Per1";
per1.LastName = "Last";
per1.Age = 20;


Person per2 = new Person();
per2.FirstName = "Per2";
per2.LastName = "Last2";
per2.Age = 21;
</code></pre>

<p>then I have:</p>

<pre><code>List&lt;Person&gt; persons = new List();
persons.Add(per1);
persons.Add(per2);
</code></pre>

<p>My question is how can I pass that '</p>

<blockquote>
  <p>persons</p>
</blockquote>

<p>' list in a C++ source.</p>

<p>A sample is much appreciated!</p>

<p>Thanks in advance.</p>
