title: Array of string with Realm database .NET sdk
body: <p>My Realm schema define a property as array of string. I add this property in my .NET model as a <code>RealmList&lt;string&gt;</code> but this is always an empty list. I also try with an <code>IList&lt;string&gt;</code> but I have a <code>null</code> value.</p>
  <p>Someone already try to map a list of primitive instead of a list of <code>EmbeddedObject</code> or <code>RealmObject</code>?</p>
  <p>My schema:</p>
  <pre class="lang-json prettyprint-override"><code>{
    &quot;title&quot;: &quot;simple&quot;,
    &quot;bsonType&quot;: &quot;object&quot;,
    &quot;properties&quot;: {
      &quot;_id&quot;: {
        &quot;bsonType&quot;: &quot;objectId&quot;
      },
      &quot;_partition&quot;: {
        &quot;bsonType&quot;: &quot;string&quot;
      },
      &quot;name&quot;: {
        &quot;bsonType&quot;: &quot;string&quot;
      },
      &quot;hashtags&quot;: {
        &quot;bsonType&quot;: &quot;array&quot;,
        &quot;items&quot;: {
          &quot;bsonType&quot;: &quot;string&quot;
        }
      }
    },
    &quot;required&quot;: [
      &quot;_id&quot;,
      &quot;_partition&quot;,
      &quot;name&quot;
    ]
  }
  </code></pre>
  <p>An example of data stored</p>
  <pre class="lang-json prettyprint-override"><code>{
      &quot;_id&quot;: {
          &quot;$oid&quot;: &quot;6151a0eb49d3cbc1b3795579&quot;
      },
      &quot;_partition&quot;: &quot;Part001&quot;,
      &quot;name&quot;: &quot;First obj&quot;,
      &quot;hashtags&quot;: [&quot;001&quot;, &quot;0003&quot;]
  }
  </code></pre>
  <p>My .NET model:</p>
  <pre class="lang-cs prettyprint-override"><code>[MapTo(&quot;simple&quot;)]
  public class Simple : RealmObject
  {
    [PrimaryKey]
    [MapTo(&quot;_id&quot;)]
    public ObjectId Id { get; set; } = ObjectId.GenerateNewId();
  
    [Required]
    [MapTo(&quot;_partition&quot;)]
    public string Partition { get; set; }
  
    [Required]
    [MapTo(&quot;name&quot;)]
    public string Name { get; set; }
  
    [MapTo(&quot;hashtags&quot;)]
    public RealmList&lt;string&gt; Hashtags { get; }
  }
  </code></pre>
  <p>.NET code that load data</p>
  <pre class="lang-cs prettyprint-override"><code>var app = App.Create(&quot;my-realm&quot;);
  
  var user = await app.LogInAsync(Credentials.EmailPassword(&quot;&quot;, &quot;&quot;));
  
  var configuration = new SyncConfiguration(&quot;Part001&quot;, user)
  {
    ObjectClasses = new[] { typeof(Simple) }
  };
  
  var realm = await Realm.GetInstanceAsync(configuration);
  await realm.GetSession().WaitForDownloadAsync();
  await realm.GetSession().WaitForUploadAsync();
  
  var simples = realm.All&lt;Simple&gt;().ToList();
  </code></pre>