Last active
July 1, 2016 06:17
-
-
Save YutaKaseda/67a556915426e4d8e9a9f1a7ba4102be 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 class sample{ | |
//動く | |
public int prop{get; private set;} | |
//動かない | |
public int property{ | |
get{return property;} | |
set{property = value;} | |
} | |
//動く | |
int propValue; | |
public int PropValue{ | |
get{return propValue;} | |
set{propValue = value;} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment