Wednesday, April 13, 2005

First get in touch with Comega

Test.cw


using System;

public class Test {

class Address {
struct {
string text;
};
}

static void Main() {
Address a = <Address><text>test</text></Address>;
Console.WriteLine("Comega says hello!");
Console.WriteLine(a.text);
Console.ReadLine();
}
}


The above code results:

Comega says hello!
test

No comments: