I would say that whether or not a list is generic isn't going to affect
things either way.
The reason is that you have two scenarios when you are using remoting.
You are either marshalling the object across the wire (in which case
serialization is used) or you are making the call into the app domain
(marshal by ref object). When you serialize an object, generics doesn't
really help with that process, since reflection is used (in most general
cases) to determine the members to serialize.
With a marshal by ref object, where the call is made into the app domain
that created the object, it doesn't matter either, because it's just the
call that is marshalled into the app domain, not the whole object instance.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Jeff" <do***@spam.mewrote in message
news:Oi**************@TK2MSFTNGP02.phx.gbl...
.NET 2.0
Is generic lists faster then tradional lists when sending over a
collection of objects (value by reference) in .NET remoting.
Lets say if a list of object should be sent from a server to the client.
Whould it be better to use generic lists?
Jeff