Skip to content

Instantly share code, notes, and snippets.

@YutaKaseda
Last active July 1, 2016 06:17
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 YutaKaseda/67a556915426e4d8e9a9f1a7ba4102be to your computer and use it in GitHub Desktop.
Save YutaKaseda/67a556915426e4d8e9a9f1a7ba4102be to your computer and use it in GitHub Desktop.
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