With this code:
```
var numlist = engine.Evaluate("c(1.5, 2.5)").AsList();
Console.WriteLine(numlist);
Console.WriteLine(numlist[1]);
```
I get an access violation when attempting to retrieve item 1. (I get NullReferenceException when retrieving item 0).
Comments: By the way, it seems IsList returns true for pairlists, but not for normal lists: ``` var pl = engine.Evaluate("pairlist(a=5)"); var l = engine.Evaluate("list(a=5)"); Console.WriteLine(pl.IsList()); Console.WriteLine(l.IsList()); ``` The above produces "True\nFalse". If this is the intended behavior, the documentation should be clarified.
```
var numlist = engine.Evaluate("c(1.5, 2.5)").AsList();
Console.WriteLine(numlist);
Console.WriteLine(numlist[1]);
```
I get an access violation when attempting to retrieve item 1. (I get NullReferenceException when retrieving item 0).
Comments: By the way, it seems IsList returns true for pairlists, but not for normal lists: ``` var pl = engine.Evaluate("pairlist(a=5)"); var l = engine.Evaluate("list(a=5)"); Console.WriteLine(pl.IsList()); Console.WriteLine(l.IsList()); ``` The above produces "True\nFalse". If this is the intended behavior, the documentation should be clarified.