Hi!
I'm learning C# and I'm trying to understand the SerializeObject method. I've seen an example in MSDN (URL: http://msdn.microsoft.com/pt-BR/library/system.xml.serialization.xmlattributeattribute(v=vs.90).aspx) and the Main() method of a class named "Run" has the following:
public class Run{
public static void Main()
{
Run test = new Run();
test.SerializeObject("Attributes.xml");
As I've never seen constructiong the class where Main() is, why this construction?
Thanks in advance
A.Barros