The sos has !dumparray for getting contents of the array. But it cannot be used for scripting or automation. Here is an example
using System;
namespace ConsoleApplication
{
class Program
{
Test[] arr = new[] { new Test() { ID = 1, Name = "Foo" }, new Test() { ID = 2, Name = "Bar" } };
static void Main(string[] args)
{
var p = new Program();
Console.WriteLine(p.arr);
Console.Read();
}
}
class Test
{
public int ID;
public string Name;
}
}
And here is the output of thearr variable within th...
↧