C++ cryptics

I saw today this line of code in a newsgroup and couldn’t resist to compare it to the same code written in C#.

array<System::Data::DataRow^>^ rows = myTable->Select("...");

Now, compare the managed C++ code above to the C# code below:

DataRow[] rows = myTable.Select("...");

I wonder which one is more clear and readable…

Leave a Reply