c# return concatenation of properties
<p>i have a class:</p>

<pre><code>public class LabOccurrenceForm
        {          

            public DateTime Occurrence_Date { get; set; }
            public string Cup_Type { get; set; }
            public string Analytical_Testing_Phase { get; set; }
            public string Area { get; set; }
            public string Preanalytical_Before_Testing { get; set; }
            public string Postanalytical_After_Testing { get; set; }
            public string Other { get; set; }
            public string Practice_Code { get; set; }
            public string Comments { get; set; }
}
</code></pre>

<p>i would like to add a method in the class that will concatonate all the variables like this:</p>

<pre><code>public string AllData
            {
                return Occurrence_Date.ToString() + " " +
                Cup_Type + " " +
                Analytical_Testing_Phase + " " +
                Area + " " +
                Preanalytical_Before_Testing + " " +
                Postanalytical_After_Testing + " " +
                Other + " " +
                Practice_Code + " " +
                Comments;
            }
</code></pre>

<p>this did not work because it wants a get or set. what am i doing wrong? how can i fix this?</p>
