I am trying to use a set in a class but it's not working
<p>I have coded the following in my class:</p>

<pre><code>   public bool SetModified(DateTime date, string user) 
    {
        set {
            this.Content.Created = DateTime.Now;
            this.Content.ModifiedBy = user;
        }
    }
</code></pre>

<p>It gives me an error just after "set {" saying ";" expected. Am I doing something wrong. I just can't see why I get the error.</p>
