Programming Question

Question: Is this a good way to check two variables for non-zero values? Can the code be improved? If (new[] { height, width }.Any (c => c != 0)) {}

From: Ace the Programming Interview [Guiness]

Subject: Code Quality

Load Another Question


Select a Subject