What sorts of bad things?
Author, SharpDeveloper.NET
What sorts of bad things?
Author, SharpDeveloper.NET
I would say use System.Collections.Specialized.StringCollection This is a specialized collection of strings.. Or you can use System.Collections.Generic.List i.e. System.Collections.Generic.List myList = new System.Collections.Generic.List(); If you know the exact number of results, array is just raw memory and fastest too, whereas using these above data structures requires some overhead..
Author, SharpDeveloper.NET
That is correct, thank you. Here's the VB.net version btnSubmit.Visible = IIf(_mode = "Read", false, true)
Author, SharpDeveloper.NET
Point well taken.
Author, SharpDeveloper.NET
The ones I find really silly and I see quite often in our codeset are like boolIsFive = val = "5" ? true : false Correction: boolIsFive = val == "5" ? true : false; -- modified at 8:14 Wednesday 6th June, 2007
Author, SharpDeveloper.NET
FUnny!! The same thing happens at my office all the time, and I even posted an article about it! http://sharpdeveloper.net/content/archive/2007/05/25/do-not-eat-exceptions.aspx Please do read and comment. THank you