The best book that I can think of that is primarily for C# and is the first place I look for all my questions in the language is: Sams Teach Yourself Visual Studio 2003 in 21 Days (I am sure their is a 2005 version). The book covers both C# and Visual Basic and gives you a complete outline of the features of various class libraries. An excellent book.
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
Which C#/.NET Obfuscator is best? Price and feature wise? I wise looking at the professional edition of dotfuscator but the price for the professional one is just silly. Any recommendations would be welcome.
It is quite straighforward, you have only to remember that, since the ArrayList operator  returns an Object, then you have to cast it to the proper type, for instance (assuming that MyClass has a method Version() returning a string):
MyClass p = new MyClass();
ArrayList a = new ArrayList();
string sVersion =((MyClass)a).Version();
hope that helps
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
I am working on a multiuser application that has a DataSet. To manage deleted rows in the multiuser setting, I have added a Deleted column to all tables and my application is not supposed to show these rows to the users. So each DataViewSetting in my DataViewManager has a rowfilter ("Deleted = 0").
I found a databound treeview on the net which is way better than the one I made, where I traversed the actual rows and relations. The one I found use CurrencyManager and position to traverse the tables and add nodes to the tree.
My problem is that this algoritm does show the "deleted" rows - I dont think the DataViewSettings gets involved.
I need to add that my application also has a panel that shows childrelations in datagrids - using the dataviewmanager. This works.
Does any of you have any idea how to make this work? All the examples on databound treeviews I've seen on the net operate directly at the dataset, not on the dataviewmanager.
I'll be very grateful for any help. Oh.. and it's a bit urgent, too
I want to create a Add-in for Visual Studio by C#2005 . But I make a lot of troubles .
1/ I create a simple add-in : write a string in document when click "ThuNghiem4" add-in. This project is here : http://www.orbitfiles.com/download/id1143303271
It's successfull. But, when I create a event "public EnvDTE.WindowEvents eventWindows;" , it fail .
This fail project is here : http://www.orbitfiles.com/download/id1143310998
2/ I want my add-in can modify color of text selection. What should I do ?
i would like to fix my header in my website...
one option doing it is by using frames
but my aspx source doesnt allow me to use frameset command
what all or other options available for me..
Last Visit: 31-Dec-99 19:00 Last Update: 24-Feb-24 18:10