Welcome to Geekdojo Sign in | Join | Help

Saturday, November 08, 2003 - Posts

as and is

I read the following from Brad Adams' blog sometime back, I didn't need it then but kind of kept it in mind. Today I needed this one and I actually used it :-). So, hopefully I'll remember it from now on. Yet another 'key of C#' lesson for me. “is should
posted by richardhsu | (Comments Off)
Filed Under:

ArrayList.ToArray(Type) usage

I was using ArrayList.CopyTo(Array) to convert arraylist to a type[] array. I thought ArrayList.ToArray(Type) was for intrinsic types (int, string etc.) but forgot that one the facilitites of OOP is that types that we define can be treated as instinsic
posted by richardhsu | 26 Comments
Filed Under: