public void TestThing() { IList list = new List <string>(); list.Add("hello"); list.Add("world"); var myArray = ListExtensions.ConvertToArrayRuntime(list, typeof(string)); Assert.IsTrue(myArray is string[]); }
public void TestThing() { IList list = new List <string>(); list.Add("hello"); list.Add("world"); var myArray = ListExtensions.ConvertToArrayRuntime(list, typeof(string)); Assert.IsTrue(myArray is string[]); }