Hi, I am working on my first big project in C# and am getting some errors that I can't seem to find the problem for. Code:
TreeView totals = new TreeView(); TreeViewColumn item = new TreeViewColumn(); //item.Title = "Item"; TreeViewColumn price = new TreeViewColumn(); //price.Title = "Price"; TreeViewColumn quant = new TreeViewColumn(); //quant.Title = "Quantity"; ListStore itemList = new ListStore(typeof(string),typeof(string), typeof(string)); With that bit of code, if I uncomment out the Title lines, I get an Expected class, delegate, enum, interface, or struct error, as well as a namespace can only contain types and namespace declarations. As soon as they are commented out, the code compiles fine. Any thoughts? _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
