Question on my Class implemention in C#
<p>Currently i have a class which has only properties </p>

<pre><code>class MyEntity
{  
    public string FirstName { get; set; }
    public string LastName  { get; set; } 
}
</code></pre>

<p>In my other class, I use to set the values like</p>

<pre><code>MyEntity objEnt = new MyEntity();
objEnt.FirstName="abc";
objEnt.LastName = "edf";
</code></pre>

<p>The reason i have the class <code>MyEntity</code> with only properties is to ensure adherence.</p>

<p>Question here is, if this approach is correct? I can have multiple instances of <code>MyEntity</code> </p>

<p>Can i use Static Class for this? How can i use Generics in this?</p>

<p>BTW the implementation is in C#</p>

<p>Thanks in advance</p>

<p>Cheers,</p>

<p>Karthik</p>
