# Tuesday, June 05, 2007
« Web Project Installer Custom Actions | Main | Unit testing with LINQ »
I was so used to using the Java Seralizable interface for arguments, that I kind of miss it in a way in .NET.  In fact I missed being able to easily tell if an object was serializable, but someone pointed this out to me today:

[Serializable]
public class User
{
...
}


if (typeof(new User()).IsSerializable)
   Console.WriteLine("The User type is serializable");



Comments are closed.