In C#, there is a nice syntax sugar for fields with getter and setter. Moreover, I like the auto-implemented properties which allow me to write
public Foo fo
There are a set of macros written Here. THis has convinient property declarations for value types, reference types, read only types, strong and weak types.
class MyClass { // Use assign for value types. NTPropertyAssign(int, StudentId) public: ... }