c# - Is this the correct syntax for auto properties? -


I've been programming for a long time, sometimes the language does not change ...

It's really ok to properly set properties. Net v2

  public string locale {get; Set; }  

Do not require an internal area? It seems that the compiler takes care of this recently?

Yes, this is a new feature in C # 3.0


Comments

Popular posts from this blog

email - PHP mail error ... failed to open stream : permission denied -

c# - ListView onScroll event -

c - Linux mmap() error -