Created
December 28, 2018 13:49
-
-
Save montella1507/27150243f831882fc390173a0d6f0e1c to your computer and use it in GitHub Desktop.
This file contains 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
// copy pasted | |
x.a = 5; | |
x.b = 6; | |
x.c = 7; | |
var first = calc(x); | |
x.a = 7; | |
x.c = 11; | |
var second = calc(x); | |
// enterprise level | |
calcWithValues(int? a, int? b, int? c) { | |
// 20radek s podminkami na nullable hodnoty a vysledny vypocet | |
} | |
var first = calcWithValue(5,6,7); | |
var second = calcWithValue(5, null, 11); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment