Last active
October 24, 2016 12:29
-
-
Save suchja/cb8e37b4d4bac95c4f62d50863d8f143 to your computer and use it in GitHub Desktop.
Fehlersuche aus diesem Kommentar: https://www.youtube.com/watch?v=874NuVyFg7I&lc=z13jvhbq1kv0uhwee22md3djcxztvhmgi04
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace test | |
{ | |
class mensch | |
{ | |
int größe, alter, gewicht; | |
string name, nachname; | |
public int Alter | |
{ | |
get | |
{ | |
return alter; | |
} | |
set | |
{ | |
if (value < 0) | |
{ | |
value = 1; | |
} | |
alter = value; | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment