Skip to content

Instantly share code, notes, and snippets.

@kmorcinek
Created November 23, 2017 21:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kmorcinek/4d226bef0ea54d6a494026d18124eac9 to your computer and use it in GitHub Desktop.
Save kmorcinek/4d226bef0ea54d6a494026d18124eac9 to your computer and use it in GitHub Desktop.
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