What a simple get; set; in a class means?

Take for example following code from a class:

public class Employee : IEntity
    public string FirstName { get; set; }
    public string LastName { get; set; }
    public int EmployeeID { get; set; }

public class Company : IEntity
    public string Name { get; set; }
    public string TaxID { get; set }

I always used get; and set; with something in braces. I never left them like this.

Writing just:

get; set;

What it means?


Auto-Implemented Properties

In C# 3.0 and later, auto-implemented properties make property-declaration more concise when no additional logic is required in the property accessors. They also enable client code to create objects. When you declare a property as shown in the following example, the compiler creates a private, anonymous backing field that can only be accessed through the property's get and set accessors.

Need Your Help

Trouble with svg scripting

scripting svg ecmascript-5

I'm trying to get some basic ecma scripting to work in an svg document that I have.

Recursive svn upgrade in local filesystem (Win32)

windows svn batch-file recursion cmd

There is a need to recursively run svn upgrade in certain directory in filesystem, ignoring non-svn subdirectories:

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.