Talk:Hash from two arrays

From Rosetta Code
Revision as of 15:02, 25 January 2007 by MikeMol (talk | contribs) (→‎C#: Response to CrashandDie)

C#

//I added this to just have some basic error checking
int arg_length = arg_keys.Length == arg_values.Length ? arg_keys.Length : 0;

I'm not really sure such an absolutely not-understandable line should be on this repository, as most of the users won't even understand it. At the very least, there should be some sort of comment, or just change it and do it on a few lines instead of hashing the source code itself. --CrashandDie 09:42, 25 January 2007 (EST)

I replaced the one-liner with an if statement. --Short Circuit 10:02, 25 January 2007 (EST)