Can't get dump to work at all
Options
Just testing LINQPAD in a Visual Studio 2017 C# program. This simple code:
String[] s = new String() { "aaaa", "bbbb", "cccc" };
s.Dump();
Only returns:
System.String[]
I have to be doing something wrong, but what?
String[] s = new String() { "aaaa", "bbbb", "cccc" };
s.Dump();
Only returns:
System.String[]
I have to be doing something wrong, but what?
Comments
-
Are you doing this in LINQPad or Visual Studio? Also, your code is incorrect and will not compile. You need square brackets in the array constructor:
String[] s = new String[] { "aaaa", "bbbb", "cccc" }; s.Dump();