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

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -