Should I assign? Can you please explain why or why not, the reasons, please?
Warning:
Expand|Select|Wrap|Line Numbers
- is never assigned to, and will always have its default value null
Expand|Select|Wrap|Line Numbers
- class f_Definition
- {
- string _definitionAcronym;
- string _definitionName;
- double[] _definitionValue = new double[4];
- DefinitionValue _DefValue;
- //properties
- public string DefinitionAcronym
- {
- set { _definitionAcronym = value; }
- get { return _definitionAcronym; }
- }
- public string DefinitionName
- {
- get { return _definitionName; }
- }
Thanks, and sorry if this question is silly