<p>I came across this code and wanted others to provide their point of view... is it good or bad ? ;)</p>

<pre><code>Class ReportClass
{
 public string ReportName {get; set;}
}
</code></pre>

<p>Then it was used as follows in code:</p>

<pre><code>displayReport(ReportClass.ReportName = cmbReportName.SelectedValue.ToString())
</code></pre>

<p>That is about the simplest form example I can give you.
Quetion is... why can't I find examples ? What would this be called? Is this just asking for trouble?</p>

<p><strong>EDIT:</strong> I'm referring to the inplace assignment. Which I wasn't aware of until today</p>

Seems fine to me. It is probably compiled with C# 3.0 and that allows
C# automatic properties
.