DEV Community

Discussion on: How C# 8 Helps Software Quality

Collapse
 
pareshjoshi profile image
Paresh • Edited
Readonly Members

this looks similar to the old c++ way of marking method as const

int GetValue() const {return value;}

where value is a member field.