2016年1月12日

C# Best Practices - Creating Good Properties

摘要: Coding PropertiesCode in the GetterCheck the user's credentialsCheck application stateFormat the returned valueLogLazy Loading related data/objectCode... 阅读全文

posted @ 2016-01-12 18:18 戒日王 阅读(147) 评论(0) 推荐(0) 编辑

C# Best Practices - Define Fields Appropriately

摘要: Backing Fields private string description; private int productId; Features A variable in a class Holds data for each object Object's data is only acce 阅读全文

posted @ 2016-01-12 17:38 戒日王 阅读(158) 评论(0) 推荐(0) 编辑

导航