C# Coding style: property names start with capitals

This commit is contained in:
Max Yankov 2013-08-17 16:01:08 +02:00
parent 2173dd419a
commit 541fd3fb06

View File

@ -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; }