Правильный способ:
public string MyProperty{ get; private set; } public MyClassConstructor(string myProperty) { MyProperty= myProperty; }