-
-
Save profesor79/9e1b87e1648e261ce81d83e414795603 to your computer and use it in GitHub Desktop.
code review pain
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public List<AShityLongClass> HandleNullValue(List<AShityLongClass> some_Results) | |
{ | |
if (some_Results[0].P1 == null) | |
some_Results[0].P1 = 0; | |
if (some_Results[0].P11 == null) | |
some_Results[0].P11 = 0; | |
if (some_Results[0].P12 == null) | |
some_Results[0].P12 = 0; | |
if (some_Results[0].P13 == null) | |
some_Results[0].P13 = 0; | |
if (some_Results[0].P14 == null) | |
some_Results[0].P14 = 0; | |
if (some_Results[0].P15 == null) | |
some_Results[0].P15 = 0; | |
if (some_Results[0].P2 == null) | |
some_Results[0].P2 = 0; | |
if (some_Results[0].P21 == null) | |
some_Results[0].P21 = 0; | |
if (some_Results[0].P22 == null) | |
some_Results[0].P22 = 0; | |
if (some_Results[0].P23 == null) | |
some_Results[0].P23 = 0; | |
if (some_Results[0].P24 == null) | |
some_Results[0].P24 = 0; | |
if (some_Results[0].P25 == null) | |
some_Results[0].P25 = 0; | |
if (some_Results[0].P3 == null) | |
some_Results[0].P3 = 0; | |
if (some_Results[0].P31 == null) | |
some_Results[0].P31 = 0; | |
if (some_Results[0].P32 == null) | |
some_Results[0].P32 = 0; | |
if (some_Results[0].P33 == null) | |
some_Results[0].P33 = 0; | |
return some_Results; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment