Is it right to have a setter to set different type than the property type?
<p>e.g.</p>

<pre><code>    [XmlAttribute("Type")]
    public string DataTypeString
    {
        get 
        {
            return _dataType.ToString();
        }
        set 
        { 
            _dataType = Type.GetType(value); 
        }
    }

    private Type _dataType;

    public Type DataType
    {
        get { return _dataType; }
        set { _dataType = value; }
    }
</code></pre>

<p>In the above code, first property type is string, however the setter sets, the _dataType which is of System.Type</p>
