public App() { MyElement elem = (MyElement)Document.GetElementById("foo"); string s = elem.myString; elem["Smith"] = elem["Joe"]; int n = Math.Truncate(5.5); XmlDocument doc = XmlDocumentParser.Parse("<markup></markup>"); Date d = Date.Parse("1/1/2010"); }
public App() { MyElement elem = (MyElement)Document.GetElementById("foo"); string s = elem.myString; elem.DoFoo(); elem.DoBar(10); elem["Smith"] = elem["Joe"]; int n = Math.Truncate(5.5); XmlDocumentParser parser = new XmlDocumentParser(); XmlDocument doc = parser.ParseFromString("<markup></markup>", "text/xml"); Date d = Date.Parse("1/1/2010"); Action eventHandler = delegate() { }; elem.Click += eventHandler; elem.Click -= eventHandler; }