-
-
Save kmorcinek/4d226bef0ea54d6a494026d18124eac9 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
public TwojTyp IIIIIIIIIIIIIIIIIFunkcja(JeszczeInnyTyp obj) | |
{ | |
TwojTyp wynik; | |
if (obj != null) | |
{ | |
if (obj.Nazwa == "Jakastam") | |
{ | |
wynik = new TwojTyp(3); | |
} | |
else | |
{ | |
int ilestam = wyliczIlestam(obj); | |
wynik = new TwojTyp(ilestam); | |
} | |
} | |
else | |
{ | |
wynik = null; | |
} | |
return wynik; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment