Geeks With Blogs
Paul's development blog Tidbits from Smart Client, Windows Forms, C#, .NET 2.0, XML, and related toys... May 2006 Entries
Javascript debugging in VS.NET

To simply regurgitate another post from GWB here (so that I can remember it), Javascript debugging is possible in Visual Studio .NET. In essence, it's not very good, but it's better than nothing and its integration with the common IDE keeps it familiar.

Posted On Tuesday, May 9, 2006 6:48 PM

Sort a generic list (IList) by ToString() value
For whatever reason, Microsoft didn't provide a Sort method in IList. So it seems like sorting a generic list requires that the list be adapted to an ArrayList. Here's a class and method call that supports sorting any list by the ToString() value of its members. public class ToStringComparer : IComparer { public int Compare(object x, object y) { return x.ToString().CompareTo(y.To... }} ArrayList.Adapter(list).Sor... ToStringComparer()); ......

Posted On Monday, May 8, 2006 2:27 PM

Copyright © Paul Whitaker | Powered by: GeeksWithBlogs.net | Join free