3
A read-only property implements only the provider get
. But what if I want to modify this property in the class itself? Let’s say
public class MinhaClasse
{
public string PropriedadeDeMinhaClasse { get; }
private void UmMetodoPrivadoQualquer ( )
{
//Como eu mudo o valor da propriedade aqui?
}
}
You around here? :)
– Leonel Sanches da Silva
Yeah, gone. But studying more C# :)
– bfavaretto
@bfavaretto Saudades work with . NET haha :(
– Laerte
@Laerte Even without customer demand, sometimes C# study to detox from PHP :)
– bfavaretto