I create a class like:
public class Employee
{
public int X;
public int Y;
public Color whatever;
}
And I write a XML File for this class like:
<Employee>
<X>16</X>
<Y>17</Y>
</Employee>
But I want to have intellisense while writing the xmlFile, it should tell me that I have the attribute X and Y, is there a way to achieve this?
And another question how does the xmlserializer work? Not how I use him, I want to know how they create a xml File with just the class given. Does he use Reflection or what?
And sorry for my bad english ._.