mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 09:41:36 +00:00
C# Coding style: property names start with capitals
This commit is contained in:
parent
2173dd419a
commit
541fd3fb06
@ -474,7 +474,7 @@ namespace Learning
|
|||||||
// when only data needs to be accessed, consider using properties.
|
// when only data needs to be accessed, consider using properties.
|
||||||
// properties may have either get or set, or both
|
// properties may have either get or set, or both
|
||||||
private bool _hasTassles; // private variable
|
private bool _hasTassles; // private variable
|
||||||
public bool hasTassles // public accessor
|
public bool HasTassles // public accessor
|
||||||
{
|
{
|
||||||
get { return _hasTassles; }
|
get { return _hasTassles; }
|
||||||
set { _hasTassles = value; }
|
set { _hasTassles = value; }
|
||||||
|
Loading…
Reference in New Issue
Block a user